[wp-trac] [WordPress Trac] #22716: Exiting new media modal pushes user to bottom of page in Firefox
WordPress Trac
noreply at wordpress.org
Tue Dec 4 18:46:55 UTC 2012
#22716: Exiting new media modal pushes user to bottom of page in Firefox
--------------------------------------------+--------------------------
Reporter: tomthewebmaster | Owner: markjaquith
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Media | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing commit |
--------------------------------------------+--------------------------
Comment (by azaozz):
Some background: this was happening because when calling focus() the
browser's built-in scrollIntoView kicks in and the modal is at the bottom
of the page in the html. So the browser was mis-calculating the
position/visibility of the modal and trying to scroll to it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22716#comment:18>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list