-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dropdown doesn't close when using Tab to unfocus a select. #291
Comments
Actually I can reproduce this behaviour only for the first select in the demo, without searchbox. |
Indeed, if you open a select with search, pressing Tab will close the dropdown as expected. This only happens if the search bar is enabled though. For example, if you go to the Multiple select without search example, you can Tab to the next two examples and open a total of three dropdowns at the same time. Also, if you press Tab on the select with search and arrive at the next select, which doesn't have search enabled, you can still open it, and now you have four dropdowns open at the same time. |
@rid9 / @abenhamdine could you please check if this was properly fixed in release v1.0.41 |
Fixed in release v1.0.41 |
To reproduce:
This will focus the next element on the page without closing the dropdown. If you press Tab a few more times, you will be able to focus the next select, and pressing Enter will open that select's dropdown. Now you'll have two dropdowns visible on the page at the same time.
The dropdown should be closed whenever the select loses focus, whether that happens as a result of a mouse event or a keyboard event. Right now, this only happens for mouse events.
The text was updated successfully, but these errors were encountered: