Bug 87391 - Touch scrolling on iOS 5 devices scrolls in the wrong direction in certain cases
Summary: Touch scrolling on iOS 5 devices scrolls in the wrong direction in certain cases
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Other
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2012-05-24 07:54 PDT by Johannes Dahlström
Modified: 2012-05-24 12:32 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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


Johannes Dahlström
Vaadin Ltd.
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