-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always applies focus-visible to inputs in React even when click #251
Comments
Seems to be the case in Vue.js aswell (so maybe it's not framework-related). |
I believe it's intentional and not framework-related. Focusing an input indicates that the user should switch their input modality to keyboard. focus-visible/src/focus-visible.js Lines 59 to 69 in ea5722d
|
19 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script gets confused in React with inputs. When you click on them, it adds the various focus-visible settings as if you used the keyboard to select them.
This does not happen with other elements like select, button, etc.
The text was updated successfully, but these errors were encountered: