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
However, Bootstrap does add built-in support for most standard keyboard menu interactions, such as the ability to move through individual .dropdown-item elements using the cursor keys and close the menu with the ESC key.
Looks like we only close on esc (and perform other keyboard actions such as arrow keys) when focus is within the menu (not the button). When focus is on the button/trigger, esc and other keyboard actions, such as arrow keys, need to still work.
ButtonDropdown
reactstrap@8.0.1
webpack
react@16.8.6
bootstrap@4.3.1
What is happening?
dropdown is not closing on escape key
What should be happening?
dropdown should close on escape key
https://getbootstrap.com/docs/4.3/components/dropdowns/#accessibility
Steps to reproduce issue
Esc
keyCode
https://reactstrap.github.io/components/button-dropdown/
The text was updated successfully, but these errors were encountered: