[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 17:58:25 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  |
--------------------------------------------+--------------------------
Changes (by markjaquith):

 * owner:   => markjaquith
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23029"]:
 {{{
 #!CommitTicketReference repository="" revision="23029"
 Fix a Firefox "scroll to bottom" bug when launching the media modal.

 * Records main document scroll position when launching media modal.
 * Restores position when media modal is closed.
 * Also locks background document scrolling while media modal is open,
 preventing inadvertent scrolling there.

 props koopersmith. fixes #22716
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22716#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list