-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix vertical positioning of popovers #674
Conversation
0858b06
to
51d36e4
Compare
While now working well, seems to have nerfed some aspect of dark mode.... |
Positioning is broken when tabbing into an element. Seems we don't get proper dimensions from the offset values. Additionally, when hovering over a link inside a positioned div (e.g. navbox) the positioning goes haywire. |
ad0b188
to
aec69c0
Compare
Used a better way to detect the change with getBoundingClientRect(), but needs testing on Safari, UWP and Android. |
Tested on all common browsers, and also on Edge Legacy. Also Safari and iOS. As a separate issue, when a page is zoomed excessively, the popovers are rendered too large to fit on a phone screen without horizontal scrolling. But this is minor. It could be dealt with by scaling the size. |
Fixes #672.