-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
Unable to close the dropdown after double selection #715
Comments
Hi, I have the same issue. Any update on this one? |
Hi @Souravvmishra |
I work around this by using the |
@Uni2K Please check the focus of the dropdown. When you use a ItemRender after first click, the Dropdown loses focus and cannot be closed clicking outside. |
Describe the bug
When using a custom ItemRenderer, double selecting a single item will remove the capability to close the dropdown when clicking outside.
Sandbox / Git Repo
https://codesandbox.io/s/naughty-dewdney-wn7v74?file=/src/App.js
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It closes when clicked outside
Screenshots
Desktop (please complete the following information):
Additional context
Maybe I use the Default Item renderer wrong, but there is no working example in the docs and this was the only thing I found in the soruce code.
The text was updated successfully, but these errors were encountered: