Fix for stray finger movements.
When user enters into an overscroll (without fling) and lifts off the fingers while the scroller is stretched, we can occasionally observe forward jerks before a bounce back animation plays. This happens due to stray finger movements. When the finger lifts off, there can be small velocities that trigger a forward animation (i.e the quick forward jerk). This CL fixes the issue by preventing the scroller from playing the bounce forward animation when velocities are really small. Bug: 1116057 Change-Id: I1f3c53b510172b6d5509e09354db3d97a9814492 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348009Reviewed-by:Philip Rogers <pdr@chromium.org> Reviewed-by:
Robert Flack <flackr@chromium.org> Commit-Queue: Rahul Arakeri <arakeri@microsoft.com> Cr-Commit-Position: refs/heads/master@{#797767}
Showing
Please register or sign in to comment