Prevent tab focus on show password button

This commit is contained in:
nikec committed 2023-04-16 00:40:23 +02:00
1 parent c63212d716
commit d42e4dc988
1 file changed
+1
+1
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>