[wp-trac] [WordPress Trac] #39859: wp.media.view.Modal jumps when you open it

WordPress Trac noreply at wordpress.org
Tue Jan 2 18:25:51 UTC 2018


#39859: wp.media.view.Modal jumps when you open it
-----------------------------+----------------------------------------
 Reporter:  andreiglingeanu  |       Owner:  afercia
     Type:  defect (bug)     |      Status:  assigned
 Priority:  normal           |   Milestone:  4.9.2
Component:  Media            |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  accessibility, javascript
-----------------------------+----------------------------------------

Comment (by afercia):

 > can you provide me the reproduction steps for that

 Sorry for late reply. I meant ''without'' the patch applied:

 - run `grunt watch`
 - edit `src/wp-includes/js/media/views/modal.js` and set `freeze` to
 `false`
 - in Firefox Quantum, edit a post and click Add Media
 - the modal opens
 - close the modal
 - the page is scrolled to the bottom

 This just to double check that `freeze` ''was'' still needed for Firefox
 but now is not necessary any longer, since focus is moved to a more proper
 element.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39859#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list