Bug: select-dropdown remains in an undetermined state when used through keyboard #9206
Labels
Components
OSS Citizen
[Status] Stale
[Type] Bug
When a feature is broken and / or not performing as intended
When you try to interact with the
select-dropdown
via keyboard, the UI does not update accordingly.Steps to reproduce
or in the components gallery http://calypso.localhost:3000/devdocs/design/select-dropdown
tab
key until the dropdown gets focused.tab
key to navigate through the options.enter
, navigate through the options with the arrows key (up/down
) and pressenter
again.What I expected
I expected that the UI of the dropdown, and of the view changes accordingly to the new selected option.
What happened instead
The view is updated on the basis of the new selected value.
The dropdown remains in an undetermined state.
Browser / OS version
I just tested with Chrome, and Safari on iOS Sierra.
I don't expect this to be dependent on browser version though.
Screenshot / Video
The first sequence shows me interacting with the dropdown using the mouse... and thereafter through keyboard.
Context / Source
I found this issue while I was working on #9150; it's not the most dreadful of the bugs, however it would be nice to make the dropdown responds in the same way it does when used through the mouse.
Probably it would be better to wait that #9150 is merged before working on this, because it introduces a few unit tests which may come to be in handy.
The text was updated successfully, but these errors were encountered: