Summary: | scroll-snap-points do not work very well with mechanical scroll wheel events | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> | ||||
Component: | Layout and Rendering | Assignee: | Brent Fulgham <bfulgham> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bfulgham, commit-queue, webkit-bug-importer, wenson_hsieh | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Mac | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Brent Fulgham
2015-03-09 11:49:08 PDT
The problem is that we trigger the animation on the "scroll end" phase, which we never receive for mechanical wheels. This is similar to the difficulty in scroll latching. We may need to create some kind of wheel event metric that trigger the animation event if a sufficient amount of time passes from the last wheel event. Created attachment 255734 [details]
Patch
Comment on attachment 255734 [details]
Patch
I think this looks good. r=me.
Comment on attachment 255734 [details] Patch Clearing flags on attachment: 255734 Committed r186160: <http://trac.webkit.org/changeset/186160> All reviewed patches have been landed. Closing bug. |