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
Set up a menu bar where some sub menuitems use template content
While using a menu bar menuitem, where some sub items have a template, navigate around the menu using the keyboard arrows. Where subitems use a template, they cannot be selected with the keyboard. Where subitems use a template, clicking on them with a mouse also has no effect.
Expected behavior
All items in the menu should be selectable, even those using a template.
The text was updated successfully, but these errors were encountered:
Looking at the docs, I see that all items which have sub items of the Menubar component get tabindex="-1", which basically makes keyboard navigation impossible.
Describe the bug
If a menu bar submenu menuitem has a template, keyboard navigation can not select it. Using a mouse to click on the templated item also does not work.
Reproducer
https://stackblitz.com/edit/vitejs-vite-hgjvbm?file=src%2FApp.tsx
System Information
Steps to reproduce the behavior
Prerequisites:
While using a menu bar menuitem, where some sub items have a template, navigate around the menu using the keyboard arrows. Where subitems use a template, they cannot be selected with the keyboard. Where subitems use a template, clicking on them with a mouse also has no effect.
Expected behavior
All items in the menu should be selectable, even those using a template.
The text was updated successfully, but these errors were encountered: