Descriptiongpu: Avoid flinging beyond content edge
If the user flings down a page while the page is still loading, we may
hit a situation where the fling animation stops at the bottom edge of
the content, pauses while the loading proceeds and then continues once the
content grows taller. This results in a jarring pause in an otherwise
continuous animation.
This patch fixes the issue by preventing the fling animation from trying
to scroll beyond the content edge. In other words, as soon as the
content overscrolls on a specific axis, we prevent the fling animation
from scrolling on that axis again.
BUG=244376
TEST=InputHandlerProxyTest.GestureFlingStopsAtContentEdge
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204006
Patch Set 1 #
Total comments: 1
Patch Set 2 : Make constant static. #Patch Set 3 : Rebased. #
Messages
Total messages: 13 (0 generated)
|