Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#47121 new defect (bug)

Featured image modal: content disappears when changing device orientation

Reported by: afercia's profile 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 5 years ago.
portrait after changing orientation twice.jpg (36.4 KB) - added by afercia 5 years ago.

Download all attachments as: .zip

Change History (3)

This ticket was mentioned in Slack in #core-media by desrosj. View the logs.


5 years ago

Note: See TracTickets for help on using tickets.