-
Notifications
You must be signed in to change notification settings - Fork 210
Pressing space to close a header menu (navigating with keyboard instead of mouse) will scroll down the page, not just close the menu #1082
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
Comments
It's not a bug. If you want an interaction with just the item and nothing else, you have the "enter" key. Space is supposed to scroll except when in a text field. |
@GuillaumeGomez space should either scroll or open the menu. It shouldn't do both. |
I'd argue it definitely should. :p |
Or more like: we shouldn't handle this ourselves. |
If you want to remove space handling and make it so you can only open the menu with enter, I'm fine with that. But the current behavior is not at all helpful or expected. |
It's definitely expected. If I use space and I'm not in a text field, it's supposed to scroll down. |
I've opened a pull request that traps the space key entirely. I'm willing to entertain the possibility of not handling the spacebar at all, too:
|
Originally posted by @jyn514 in #1081 (comment)
The text was updated successfully, but these errors were encountered: