-
Notifications
You must be signed in to change notification settings - Fork 48
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
Incorrect popup handling in flexbox elements #990
Comments
Thanks for filing this! That's definitely weird. |
This appears to be an existing issue, as opposed to a recent regression. It looks like the logic we have for re-using the last result fails to perform the distance check we use when we do a new lookup. We could just always perform that distance check, but it will likely hurt performance since we'll flush layout more often. I think we need to cache the position of the text and check that before re-using a previous result. |
Rewrite text lookup to be more thorough and robust. Fixes #990. Also improves performance and allows looking up `user-select: all` text in Firefox.
This seems to have been an incredibly involved fix/rewrite. Thank you! |
Thank you! Yeah, it was three solid days of work. Hopefully it makes it possible to fix #1130 and other bugs too. |
On Hikibiki, this happens in 1.12.4:
The text was updated successfully, but these errors were encountered: