You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enter and space keys can be both used to trigger button press when navigating by keyboard. After menu is opened, the first menu item should be focused automatically, but using space key fails to do so. (while enter key does the focus as expected)
What are the steps to reproduce?
official demo.
Adding a space key check here in the source code works: if (event.keyCode === ENTER || event.keyCode === SPACE)
The text was updated successfully, but these errors were encountered:
Bug, feature request, or proposal:
bug
What is the expected behavior?
enter
andspace
keys can be both used to trigger button press when navigating by keyboard. After menu is opened, the first menu item should be focused automatically, but using space key fails to do so. (whileenter
key does the focus as expected)What are the steps to reproduce?
official demo.
Adding a
space
key check here in the source code works:if (event.keyCode === ENTER || event.keyCode === SPACE)
The text was updated successfully, but these errors were encountered: