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
The current behavior is adding the "data-highlighted" prop to menu items that are disabled. This causes some unintended behavior, such as the item's focus being directed to disabled items, and also affects the component's styling.
Expected behavior
When an item is disabled and you try to navigate to it using the keyboard, you should not focus on disabled items and also should not add the "data-highlighted" prop so as not to affect the styling.
Bug report
Current behavior
The current behavior is adding the "data-highlighted" prop to menu items that are disabled. This causes some unintended behavior, such as the item's focus being directed to disabled items, and also affects the component's styling.
Expected behavior
When an item is disabled and you try to navigate to it using the keyboard, you should not focus on disabled items and also should not add the "data-highlighted" prop so as not to affect the styling.
Expected behavior
Base UI version
v1.5.0
Which browser are you using?
Chrome
Which OS are you using?
Linux (CachyOS)
Additional context
menu-bug.mp4