-
-
Notifications
You must be signed in to change notification settings - Fork 902
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
Multiple Dropdowns:Click on 2nd Dropdown does not open it as the first Dropdown was open #313
Comments
Hi @SunilKumar5 , |
@anjmao @SunilKumar5 native html select works this way so I am perfectly fine with this behaviour. |
@varnastadeus If native html sucks it doesn't mean what we also should. |
I looked at some popular select components and they all handle dropdown closing without overlay. Will need to fix this behaviour. |
fixes ng-select#453 fixes ng-select#313 Previously ng-select dropdown close was handled by clicking on invisible overlay, but it causes some issues. This approach uses global document mousedown event listener to determine when to close dropdown.
Please fill below information if issuing a bug report.
Expected behaviour
When there are multiple drodpdowns on the same screen. First click on a dropdown opens options and clicking directly on other dropdown should have opened the second dropdown.
Actual behaviour
Now First click on a dropdown opens options and clicking directly on other dropdown closes the first dropdown options but does not open second dropdown options.
This can be found in the demo app also.
More Info
ng-select version: [0.24.0]
browser: [Chrome 64]
reproducible in demo page: [YES]
The text was updated successfully, but these errors were encountered: