-
-
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
My issue: DropDown does not close on background click when NgSelect in Popup #453
Comments
Hi @fspezi, ng-select creats invisible overlay, and it looks like modal window and overlay z-index values are not correct. As a quick fix you can solve it by making your modal z-index smaller than ng-select overlay, which modal are you using? |
Thanks for your support. And now I understand that... the problem is not the Modal (z-index 2000) but a slideshow that it contains. Then if |
This is related to #313 |
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.
I have an Issue in my code that I can't resolve.
Can someone help me?
I need to know where is the piece of code that manage the closing of Dropdown on click out of ng-select element.
Expected behaviour
When dropdown is opened, I expect that it will close on click to any point of screen.
Actual behaviour
The dropdown do not close. ng-select close dropdown on select to item or click to little arrow only.
More Info
ng-select version: 0.36.2
browser: Chrome 65.0.3325.18
reproducible in demo page: NO
The NgSelect is drown inside Bootstrap Popup.
The Popup size is equal to entire window.
Popup position css style is "fixed".
The text was updated successfully, but these errors were encountered: