[Webkit-unassigned] [Bug 232738] New: A sideways rubber band can break a vertical scroll snap animation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 4 17:26:11 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=232738

            Bug ID: 232738
           Summary: A sideways rubber band can break a vertical scroll
                    snap animation
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: simon.fraser at apple.com
                CC: simon.fraser at apple.com

In a vertically document with snap points, if your vertical scroll gesture has some horizontal component, we can start a rubberband animation in X which kills the scroll snap momentum animation:

ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController::applyScrollDeltaWithStretching() - stretchScrollForce width=4 height=0 move delta width=0 height=0 dampedDelta width=1 height=0
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController::applyScrollDeltaWithStretching() - stretchScrollForce width=4 height=0 move delta width=0 height=0 dampedDelta width=1 height=0
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController::applyScrollDeltaWithStretching() - stretchScrollForce width=5 height=0 move delta width=1 height=0 dampedDelta width=1 height=0
ScrollingEffectsController::applyScrollDeltaWithStretching() - stretchScrollForce width=6 height=0 move delta width=1 height=0 dampedDelta width=1 height=0
ScrollingEffectsController 0x31062c180 updateRubberBandingState - isRubberBanding 0
ScrollingEffectsController 0x31062c180 startMomentumScrollWithInitialVelocity width=0 height=0 from (1,319)
ScrollingEffectsController 0x31062c180 scrollAnimationWillStart ScrollAnimation 0x3106124b0 momentum active 1 current offset (0,0)
ScrollingEffectsController::startRubberBandAnimationIfNecessary() - rubberBandAnimationRunning 0 stretchAmount width=1 height=0 targetOffset (1,319)
ScrollingEffectsController 0x31062c180 scrollAnimationDidEnd ScrollAnimation 0x3106124b0 momentum active 0 current offset (0,0)
ScrollingEffectsController 0x31062c180 stopAnimatedScroll
ScrollingEffectsController::startRubberBandAnimation() - starting rubbberband with targetOffset (0,319) initialVelocity width=0 height=0 initialOverscroll width=1 height=0
ScrollingEffectsController 0x31062c180 scrollAnimationWillStart ScrollAnimation 0x31f8bf240 rubber-band active 1 current offset (0,0)
ScrollingEffectsController 0x31062c180 updateRubberBandingState - isRubberBanding 1
ScrollingEffectsController 0x31062c180 scrollAnimationDidUpdate ScrollAnimation 0x31f8bf240 rubber-band active 1 current offset (1,319) (main thread 0) scrolling to (1,319)
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController 0x31062c180 scrollAnimationDidUpdate ScrollAnimation 0x31f8bf240 rubber-band active 1 current offset (1,319) (main thread 0) scrolling to (1,319)
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController 0x31062c180 scrollAnimationDidUpdate ScrollAnimation 0x31f8bf240 rubber-band active 1 current offset (1,319) (main thread 0) scrolling to (1,319)
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ScrollingEffectsController 0x31062c180 scrollAnimationDidUpdate ScrollAnimation 0x31f8bf240 rubber-band active 1 current offset (0,319) (main thread 0) scrolling to (0,319)
ScrollingEffectsController 0x31062c180 updateRubberBandingState - isRubberBanding 0
ScrollingEffectsController 0x31062c180 scrollAnimationDidEnd ScrollAnimation 0x31f8bf240 rubber-band active 0 current offset (0,319)
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 1
ThreadedScrollingTree::willStartRenderingUpdate - scrollingThreadIsActive 0

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211105/761dc7c9/attachment.htm>


More information about the webkit-unassigned mailing list