WordPress.org

Make WordPress Core

Opened 23 months ago

Last modified 23 months 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: Appearance Keywords: commit has-patch
Focuses: Cc:

Description

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)

azaozz23 months ago

azaozz23 months ago

azaozz23 months ago

azaozz23 months ago

Note: See TracTickets for help on using tickets.