RESOLVED DUPLICATE of bug 145059 136005
Snap offsets sometimes improperly recomputed on iOS
https://bugs.webkit.org/show_bug.cgi?id=136005
Summary Snap offsets sometimes improperly recomputed on iOS
Wenson Hsieh
Reported 2014-08-15 16:19:38 PDT
Snap offsets are incorrectly recomputed when zooming in and when changing orientation on iOS. To reproduce, open itunes.html in the first snap point examples attachment here: https://bugs.webkit.org/show_bug.cgi?id=134283, zoom in, and then try to scroll. The scroll animation should immediately snap the scroll offset back to the previous snap point with no animation. This indicates that the snap point is retargeting to an incorrect point. Specifically, the instant snap with lack of animation is a result of the scroll velocity (received by RemoteScrollingCoordinatorProxy::adjustTargetContentOffsetForSnapping) having the wrong sign relative to the target content offset. In other words, velocity indicates we're moving in a certain direction, but the targetContentOffset is in the opposite direction.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-08-28 09:34:11 PDT
Brent Fulgham
Comment 2 2015-05-18 13:04:07 PDT
*** This bug has been marked as a duplicate of bug 145059 ***
Note You need to log in before you can comment on or make changes to this bug.