Select menu behavior
See original GitHub issueProblems
Check select menu stories in storybook and some use case in our segment app I think there are a few issues for select menu:
- Use keyboard arrow key up/down, the list doesn’t scroll into the selected position, so you can’t see where you are at in the list
- Use keyboard arrow key up/down are selecting the current item. Checked some select menu examples such as http://blueprintjs.com/docs/versions/2/#select/select-component, Github Assignees issue selector, the list allows us use arrow key to browse list items without triggering select immediately. So we consume the original state of selected item if we only browse list. That being said, hitting enter key should select the item.
onSelect
should be the prop that let user decide if menu should be closed or deselect.
Example of working select menu
- After close the menu, while it’s still focused on the toggle button, hit enter won’t open the menu. Only pressing the enter key down will keep the menu open.
Evergreen select menu
Example of working select menu
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Dropdowns: Design Guidelines - Nielsen Norman Group
Guidelines for Dropdown Design · Avoid interacting menus · Gray out any unavailable options · Avoid dropdown boxes when typing may be faster....
Read more >Dropdown - Semantic UI
A dropdown menu can contain floated content. Floated content may stack to two lines without manually setting a width when or using a...
Read more >UI cheat sheet: dropdown field - UX Collective
While long dropdowns are not ideal, you can group some of the items under different categories to make searching for what you want...
Read more >Say Hello to selectmenu, a Fully Style-able select Element
I want to introduce you to a new, experimental form control called selectmenu, including how much easier it is to style than a...
Read more >How to select a dropdown menu as the element of a Guide step?
This article provide directions on selecting a dropdown menu as an ... Since dropdown menus generally reveal their content by demand and their...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@mshwery Is anyone working on this?
Closing this as 1 has been resolved, and 2 is up for discussion with EG maintainers!