Prevent tab focus on show password button

This commit is contained in:
nikec
2023-04-16 00:40:23 +02:00
parent c63212d716
commit d42e4dc988

View File

@@ -138,6 +138,7 @@ export const PasswordInput = forwardRef<HTMLInputElement, PasswordInputProps>((p
onClick={() => setShowPassword(!showPassword)}
size="icon"
className={clsx(props.buttonClassnames)}
tabIndex={-1}
>
<CurrentEyeIcon className="h-4 w-4" />
</Button>