WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
141298
Scroll Snap Points animation sometimes fights user scroll gesture
https://bugs.webkit.org/show_bug.cgi?id=141298
Summary
Scroll Snap Points animation sometimes fights user scroll gesture
Brent Fulgham
Reported
2015-02-05 11:22:46 PST
Created
attachment 246115
[details]
Snap Point Example Using the attached test document, I sometimes find WebKit fighting with my scroll motion if a snap point animation starts, and I then attempt to start a manual scroll. It seems like the animation is not being turned off when new user input is encountered.
Attachments
Snap Point Example
(2.66 KB, text/html)
2015-02-05 11:22 PST
,
Brent Fulgham
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Brent Fulgham
Comment 1
2015-02-05 11:59:50 PST
Manual Test: 1. Load the attached snap point example. 2. Partially scroll a view, so that the snap scroll kicks in and WebKit tries to slide the view back to the specified snap point. 3. While the snap point animation is running, begin a new scroll gesture to scroll the view. Result: Currently, you get jittering as the snap animation fights with the scrolling gesture.
Radar WebKit Bug Importer
Comment 2
2015-02-05 12:00:35 PST
<
rdar://problem/19733626
>
Brent Fulgham
Comment 3
2015-03-04 10:53:57 PST
This problem was corrected during other snap-point work. The underlying problem was that certain wheel event states were not properly handled by the scroll snap animator logic. This caused the snap animation to continue to run even when the user began certain kinds of wheel gestures. This is now resolved.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug