[scroll-snap] Clear scroll-snap target when updating cc scroll animation
Clear the animating scroll snap targets in LayerTreeHostImpl whenever we update the animation target. This ensures that we attempt to snap to an actual snap position once the animation finishes. Bug: 1035953 Change-Id: Ieb2b8d04d6a6f795124770a599373a21c9d61989 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1976826 Commit-Queue: Yi Gu <yigu@chromium.org> Reviewed-by:Majid Valipour <majidvp@chromium.org> Cr-Commit-Position: refs/heads/master@{#742663}
Showing
Please register or sign in to comment