-
Notifications
You must be signed in to change notification settings - Fork 76
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
Autocomplete dropdown closes on click outside of browser window #126
Comments
I think that's expected behavior. I'm just using a listener on document click to close the dropdown, so I can't really control when the browser fires that event. |
That would be very helpful have an attribute to turn this behavior off. Particularly during development, while working on styling the dropdown list... |
a workaround: const autocomplete = new Autocomplete('#autocomplete', options);
autocomplete.core.hideResults = function() {}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Autocomplete dropdown closes on any mouse click outside of the autocomplete component, even on a click outside of browser window. Is this the expected behavior? Is there any way to keep the dropdown list open when clicking outside of the component?
The text was updated successfully, but these errors were encountered: