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 the menu is opened via click and nothing is selected the first item is always focused.
In my opinion this is rarely how dropdown-menus work.
Just check https://material.google.com/components/buttons.html#buttons-dropdown-buttons or click any menu in Chrome. I would expect nothing to be focused and when you arrow down the first gets focus.
Can this at least be an option, like auto-focus or something?
The text was updated successfully, but these errors were encountered:
// focus the selected item when the menu receives focus, or the first item
// if no item is selected
var selectedItem = this.multi ? (this.selectedItems && this.selectedItems[0]) : this.selectedItem;
Pretty much old school Norton Commander like behavior. Not sure if it's valid for webapps though.
Description
When the menu is opened via click and nothing is selected the first item is always focused.
In my opinion this is rarely how dropdown-menus work.
Just check https://material.google.com/components/buttons.html#buttons-dropdown-buttons or click any menu in Chrome. I would expect nothing to be focused and when you arrow down the first gets focus.
Can this at least be an option, like
auto-focus
or something?The text was updated successfully, but these errors were encountered: