-
Notifications
You must be signed in to change notification settings - Fork 171
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 on "openByClickOn" element causes portal to hide and then immediately show. #65
Comments
Yeah, that's a glitch. Do you want to create a PR? It should be simple. |
Replace mousedown events with mouseup. |
That's an awesome component. It will be very useful for my projects. Thanks very much! @tajo |
fixed in |
I have the same issue in 3.0.0. Replacing Maybe you should check here that UPD: I can visually detect this issue only if portal content has css animations |
And I guess that most people would like the portal to hide in this case, not to keep being shown (one can achieve this with |
When the prop
closeOnOutsideClick
is true, clicking on theopenByClickOn
element causes the portal to hide, and then immediately show.The text was updated successfully, but these errors were encountered: