-
Notifications
You must be signed in to change notification settings - Fork 152
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
Clicking clear closes Headless UI modal #182
Comments
Hy @stevebauman, did you find the solution? |
Hi @rizkhal, yes I mentioned the solution in the description of this issue 👍 |
Oh yes, i followed your instructions but still not working, then i added |
Hi guys, I'm facing the same error. First i noticed the issue with selected tags clear button If anyone have suggestions they'll be appreciated |
Hi 👋 this issue has been automatically marked as |
Thanks @stevebauman, you're a genius 👍🏽 |
Fixed in |
Version
Description
Similarly to #148, when you click the clear (X) button inside the input element, it closes the headless UI modal.
I was able to resolve this using a
@click
handler instead of@mousedown
, which triggers the modal to close:Demo
Unable to produce demo due to no available CDN for Headless UI.
The text was updated successfully, but these errors were encountered: