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 a Menu has no selected items, it always has a highlighted first item.
I have searched the issues of this repository and believe that this is not a duplicate.
Expected Behavior
If I open a menu that has no item with select={true} I would expect the menu to open with the first item highlighted for as long as the cursor is hovering over it and then when the cursor moves to another item, the first item should be un-highlighted. So, only the item that is under the cursor should be highlighted if there is no selected item.
Current Behavior
When the menu (with no selected items) opens, the first item is highlighted and remains highlighted (suggesting that it is somehow selected) while the cursor hovers over other items.
I am using a Menu to display a list of commands/actions that a user might want to execute. So I should like the menu to highlight only the command that the user is currently hovering over with the mouse. (Or on a touch device, no command should be highlighted)
Your Environment
Tech
Version
Material-UI
1.0.0. beta 17
React
browser
etc
The text was updated successfully, but these errors were encountered:
When a
Menu
has no selected items, it always has a highlighted first item.Expected Behavior
If I open a menu that has no item with
select={true}
I would expect the menu to open with the first item highlighted for as long as the cursor is hovering over it and then when the cursor moves to another item, the first item should be un-highlighted. So, only the item that is under the cursor should be highlighted if there is no selected item.Current Behavior
When the menu (with no selected items) opens, the first item is highlighted and remains highlighted (suggesting that it is somehow selected) while the cursor hovers over other items.
Steps to Reproduce (for bugs)
See simple menu demo
Context
I am using a Menu to display a list of commands/actions that a user might want to execute. So I should like the menu to highlight only the command that the user is currently hovering over with the mouse. (Or on a touch device, no command should be highlighted)
Your Environment
The text was updated successfully, but these errors were encountered: