Bug 87391

Summary: Touch scrolling on iOS 5 devices scrolls in the wrong direction in certain cases
Product: WebKit Reporter: Johannes Dahlström <johannesd>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: simon.fraser
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   

Description Johannes Dahlström 2012-05-24 07:54:22 PDT
I ran into this issue while trying to implement support for per-element native touch scrolling in the Vaadin framework (http://vaadin.com). On iOS 5 devices (both iPhones and iPads) if there is a scrollable element (both overflow: auto and -webkit-overflow-scrolling: touch set) in some cases a horizontal swipe gesture causes the element to scroll vertically and vice versa. Sometimes the element does not scroll at all. Reloading the page may randomly switch between buggy and correct scrolling.

It seems that two conditions must be fulfilled for the bug to manifest:
* The page must contain an iframe.
* The content of the scrollable element must be dynamically inserted with javascript.

This is probably a Mobile Safari issue, but reporting here just in case. Will also report this to Apple directly.

A test case: http://johannesd.virtuallypreinstalled.com/ios5scroll.html

Another test case (not by myself): http://media.news.com.au/news/2012/03-mar/ipad/bugs-scrolling-basic.html


Thanks,

Johannes Dahlström
Vaadin Ltd.
http://vaadin.com/
Comment 1 Alexey Proskuryakov 2012-05-24 12:32:57 PDT
We do not track bugs that are specific to iOS or Android, because these ports do not build directly from webkit.org sources. Marking INVALID per our policy.

Please report this issue to Apple via http://bugreport.apple.com