WordPress.org

Make WordPress Core

Opened 7 weeks ago

#47121 new defect (bug)

Featured image modal: content disappears when changing device orientation

Reported by: afercia Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.0
Component: Media Keywords: has-screenshots
Focuses: Cc:

Description

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.

Attachments (2)

portrait initial.jpg (108.1 KB) - added by afercia 7 weeks ago.
portrait after changing orientation twice.jpg (36.4 KB) - added by afercia 7 weeks ago.

Download all attachments as: .zip

Change History (2)

Note: See TracTickets for help on using tickets.