-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 + Select2 click inside select closes dropdown... #3258
Comments
Most likely this is because the dropdown is not trapping the You can usually override a method on the other component such that it won't try to automatically close the popover when Select2 fires off events. Without knowing what you are using for the popover, I can't help figure out what method needs to be overridden. |
Thank you for replying.
|
I'm facing the same problem with bootstrap3 dropdown right now. Is there a solution? |
This appears to be a usage question, rather than a bug report or feature request. Please see our contributing guidelines. Usage questions should be discussed on the forums instead. |
|
Hello, I am new to using Select2.
I am trying to put this select into a drop down and allow someone to search for users.
The problem is when I click anywhere inside the search results, like the input text field or the empty search results area, it will close my dropdown, but keep the select results dropdown open...
Example:
Before clicking inside the input box:
After clicking inside the input box:
But, when I click a search result item like a href link type item in the results drop down, it does not close my main drop down....
I am trying to put in e.preventDefault, e.preventPropagation everywhere I can but I can't seem to get it to work!
Please tell me what im missing here...
The text was updated successfully, but these errors were encountered: