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
When moving focus outside of the menu bar using Tab or Shift + Tab, the submenu is not closed if the focus was on the vaadin-menu-bar-button (not on the submenu item).
Note: the issue is not specific to Tab navigation mode, can be reproduced with or without it.
menu-bar-tab.mp4
Expected outcome
Expected the submenu to close.
Minimal reproducible example
<input><vaadin-menu-bar></vaadin-menu-bar><input><scripttype="module">import'@vaadin/menu-bar';constmenuBar=document.querySelector('vaadin-menu-bar');menuBar.items=[{text: 'Share',children: [{text: 'On social media',children: [{text: 'Facebook'},{text: 'Twitter'},{text: 'Instagram'}],},{text: 'By email'},{text: 'Get link'},],},{text: 'Move',tooltip: 'Move to a different folder or trash.',children: [{text: 'To folder'},{text: 'To trash'}],},];</script>
Steps to reproduce
Focus the menu-bar
Open submenu for one item
Switch submenu to another item so that button is focused
Press Tab to leave menu-bar
Environment
Vaadin version(s): 24.8 (main) and earlier
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered:
Description
Finding from #8912
When moving focus outside of the menu bar using Tab or Shift + Tab, the submenu is not closed if the focus was on the
vaadin-menu-bar-button
(not on the submenu item).Note: the issue is not specific to Tab navigation mode, can be reproduced with or without it.
menu-bar-tab.mp4
Expected outcome
Expected the submenu to close.
Minimal reproducible example
Steps to reproduce
Environment
Vaadin version(s): 24.8 (main) and earlier
Browsers
Issue is not browser related
The text was updated successfully, but these errors were encountered: