DescriptionProperly resume scrolling if a fling ends during a suppressed scroll
As a boosted fling may suppress a new scroll sequence in anticipation of a
follow-up fling event, it's important that scrolling properly resume if the
boosted fling terminates during said suppressed scroll. Normally, a synthetic
GestureScrollBegin is used to kickstart the scroll in such cases. However, if
the fling naturally terminates by either overscrolling or ticking beyond its
lifetime, we failed to resume touch scrolling. This led to unexpected cases
where a GestureScrollUpdate would be processed without an antecedent
GestureScrollBegin.
Address this by always inserting the appropriate synthetic GestureScrollBegin
if the fling terminates for any reason.
BUG=402077
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290027
Patch Set 1 #Patch Set 2 : Cleanup #
Messages
Total messages: 5 (0 generated)
|