-
-
Notifications
You must be signed in to change notification settings - Fork 95
Description
I've noticed that <MultiSelect> works quite differently from, say, a native <select> tag when using keyboard to interact with it. I think it would be great if the component can behave similarly to how <select> works.
For instance, native <select> dropdown opens when I hit spacebar while on focus. Hitting tab closes the dropdown, and hitting tab once more will move the focus to the next element.
In contrast, <MultiSelect> dropdown opens on hitting arrow down while on focus, and there is no apparent way to close it using keyboard only without losing focus.1 In fact, if I hit tab while the dropdown is open, the focus is moved to another element but the dropdown remains open. I believe this different behavior can be confusing to users other than myself.
Footnotes
-
For your reference, with react-select's multi select component, hitting
spacebar(orarrow downkey) opens dropdown, and hittingescapecloses dropdown without losing focus. ↩