[wp-trac] [WordPress Trac] #47121: Featured image modal: content disappears when changing device orientation

WordPress Trac noreply at wordpress.org
Sat May 4 09:27:12 UTC 2019


#47121: Featured image modal: content disappears when changing device orientation
--------------------------+-----------------------------
 Reporter:  afercia       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  5.0
 Severity:  normal        |   Keywords:  has-screenshots
  Focuses:                |
--------------------------+-----------------------------
 To reproduce:
 - emulate a mobile device via the Chrome dev tools
 - edit a post in Gutenberg
 - click Featured Image > Set featured image in the sidebar
 - the "Featured Image" media modal opens
 - depending if your initial device orientation is landscape or portrait,
 click once or twice on the Chrome dev tool "Rotate" button to change
 device orientation
 - once the orientation is "portrait", the whole content of the modal
 disappears
 - ie: the content container becomes totally empty: `<div class="media-
 modal-content"></div>`
 - change orientation again: still empty

 See attached screenshots.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47121>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list