Chromium Code Reviews
DescriptionSmooth scroll animation should not override scroll anchoring update (MT)
Previously, the adjustment made by scroll anchoriing would be overwritten by
the scroll position updates from the scroll offset animation because it worked
with absolute scroll offset values.
Now, when an adjustment is about to be made with an ongoing animation initiated
by MT, we cancel that animation, update the curve, and schedule an animatiion
with the update target. We do this by introducing a new state to the
ScrollAnimator class which also fixes issue 599876.
BUG=594456, 599876
Committed: https://crrev.com/98eaa26e00d063ccf9f31cd85261f66441bcd5b8
Cr-Commit-Position: refs/heads/master@{#390997}
Patch Set 1 #
Total comments: 2
Patch Set 2 : nit fix comment #Patch Set 3 : rebase master #Patch Set 4 : disable test for mac #
Messages
Total messages: 21 (10 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||