Chromium Code Reviews
DescriptionImplement bounce suppression in ScrollAnchor.
An element can "bounce", by making the inverse of its last movement, when a
scroll anchoring adjustment interacts with a scroll event handler that changes
layout at a scroll offset threshold.
ScrollAnchor now detects bounces by tracking the most recent adjustment and the
element that triggered it (even if we have anchored to a different element since
then), and suppresses repeat bounces.
BUG=598233, 601906, 603376
Committed: https://crrev.com/2fd28b5102e73c49b3891d9bc7c05ffda979e2ea
Cr-Commit-Position: refs/heads/master@{#394552}
Patch Set 1 : #
Total comments: 10
Patch Set 2 : address ymalik review comments #
Messages
Total messages: 17 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||