-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[docs] Demo VirtualElementPopper crashes #32106
Comments
Thanks for the report! Would you like to work on a solution? |
If you have not started already (I see that you are assigned), I can make an attempt! |
Go ahead! |
@michaldudak I managed to figure out why it crashes. After deselecting the text and moving my cursor out of the box, A separate problem, which is not covered in this issue, is why the Popper is still visible after selection. I found out that when
even though the Moving the There seems to be some kind of conflict when |
Thanks for the investigation! I don't think we need to keep the state for both As for the other findings - I'm OK with wrapping the body of handleMouseUp in setTimeout and calculating boundingClientRect eagerly. I'd appreciate a PR if you can find the time. |
That is true. However, doing so will remove the fade out animation (as the anchor is now
Absolutely, I will make one! |
This is kind of a duplicate but the others are closed/incomplete due to people not responding.
Steps to Reproduce
Video of how to reproduce:
popper-virtual-element-crash.mp4
Stack trace
Your Environment
The text was updated successfully, but these errors were encountered: