-
Notifications
You must be signed in to change notification settings - Fork 5k
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
fixes firefox popup location #8467
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small suggestion but this looks like a decent solution
Co-Authored-By: Whymarrh Whitby <[email protected]>
8f42ab8
to
6b872e3
Compare
Changed that up, @whymarrh, thanks for the suggestion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great find! Yet another Firefox bug to follow.
That flash of the popup being in the wrong spot is unfortunate, but this is still probably better than leaving it positioned incorrectly. That was especially painful on multi-monitor computers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Builds ready [6b872e3]
Page Load Metrics (642 ± 42 ms)
|
Found that firefox doesn't have the proper popup location, but that's because firefox doesn't respect top and left on
windows.create
. https://bugzilla.mozilla.org/show_bug.cgi?id=1271047It does, however, respect
windows.update
. This PR adds a method for moving the popup window ifpopupWindow.left !== left
. Has a flash of the popup opening wherever firefox says it should, but ends up in the right place.