-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
In the demo, there seems to be a bug when using spacebar to trigger the menu.
Steps to reproduce:
- tab to focus the menu trigger "Select a word"
- spacebar to open menu
- while the menu is opened and focused, spacebar to close.
Expected result: menu closes
Actual result: menu closes and opens in succession.
Tested on:
- Firefox 60.9.0 (Mac)
- Firefox 45.9.5 (Mac)
- may affect other Firefox (Mac) versions as well.
Other Notes
If you change the Button.tag to span, this works correctly. However, it should be expected that this should work with button. An old issue (#76) stated that the tag is exposed only for stylistic changes. However, with this bug, it becomes invalid due to this browser quirk.
Metadata
Metadata
Assignees
Labels
No labels