Modal Scrolling on iOS

All of our modals have problems with scrolling on iOSiOS The operating system used on iPhones and iPads.. The page behind the modal scrolls when you swipe. Bleed through of the page beneath and sometimes stacked scrolling make for a frustrating experience. A few months ago, we made a big improvement to modal scrolling with the fix for #29909.

Ticket 29909: Scrolling beneath modals bad experience on mobile

Changeset 30707: Prevent scrolling beneath modals on mobile devices by removing overflow from #wpwrap when a modal is open.

That was the end of the scroll issues on Android. iOS has not been so straightforward.  Recently, scrolling issues with the theme details modal were fixed by setting webkitoverflowscrolling to touch.

Ticket 31381: The theme details modal has scrolling and toolbar problems on iPhone 6 and 6+

The attachment details modal, link modal, session expired log in modal, and plugin details modal still have scrolling issues on iOS. Here’s a visual surveyVisual survey A visual survey is a collection of screenshots for a like set of screens or interfaces, such as all list table screens or all toolbar incarnations across various devices. These screens are not presented in the context of a particular flow. of these modals on an iPhone 6+.

Screencast of the Link Modal on an iPhone 5 running iOS 8.2. The effect is even more disconcerting on the larger screen of an iPhone 6+ because more of the page behind the modal is exposed.

#ios, #modal, #scroll-bleed, #web