Closed
Description
Bug, feature request, or proposal:
bug
What is the expected behavior?
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)