Make WordPress Core

Opened 6 years ago

Last modified 2 years ago

#20805 closed defect (bug)

Theme Customizer: Preview should be scrollable on iPad — at Initial Version

Reported by: koopersmith Owned by:
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: Customize Keywords: commit has-patch
Focuses: Cc:


Currently, the customizer preview iframe is not scrollable on iPads. Originally, Mobile Safari was supposed to scroll iframes with two fingers, but has been broken since at least iOS 4.2.1.

Applying the following to the parent element allows the iframe to scroll with one finger, but will not render any iframe contents that were originally out of the frame when scrolled (it just becomes white). Also, when the preview is refreshed, the iframe stops scrolling altogether.

#customize-preview {
overflow: auto;
-webkit-overflow-scrolling: touch;

For more information on this technique, see: http://stackoverflow.com/questions/4599153/iframes-and-the-safari-on-the-ipad-how-can-the-user-scroll-the-content

Change History (4)

6 years ago

6 years ago

6 years ago

6 years ago

Note: See TracTickets for help on using tickets.