[Webkit-unassigned] [Bug 240241] New: Scrolling outer scroll-snap container causes inner scroll-snap container not to snap

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 9 10:40:51 PDT 2022


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

            Bug ID: 240241
           Summary: Scrolling outer scroll-snap container causes inner
                    scroll-snap container not to snap
           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: augus.dupin at gmail.com
                CC: simon.fraser at apple.com

Created attachment 459057

  --> https://bugs.webkit.org/attachment.cgi?id=459057&action=review

testcase

Hello,

With two nested scroll-snap containers, one horizontal, and the other vertical, when the inner container is overscrolled, and the outer container is scrolled during the rubberbanding, the inner container does not snap as it should. Instead, it gets blocked at its current position.

Steps to reproduce in the testcase horizontal inside vertical:
- scroll down to have the nested horizontal scroll-snap container in view
- scroll all the way to the right to cause overscroll
- without waiting for the end of rubberbanding, scroll up to cause vertical scrolling in the outer container
- see the inner horizontal scroll-snap container get stuck, not snapping to the last target as it should

Steps to reproduce in the testcase vertical inside horizontal:
- scroll right to have the nested vertical scroll-snap container in view
- scroll all the way down to cause overscroll
- without waiting for the end of rubberbanding, scroll left to cause horizontal scrolling in the outer container
- see the inner vertical scroll-snap container get stuck, not snapping to the last target as it should

Note that you might also experience this bug while testing: https://bugs.webkit.org/show_bug.cgi?id=236536 (you can actually see it in the first test in the attached video).

Probably related to these:
- https://bugs.webkit.org/show_bug.cgi?id=183239 (marked as fixed)
- https://bugs.webkit.org/show_bug.cgi?id=184626 (testcase not working and video unavailable)

Please let me know if you need additional information.

-- 
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/20220509/33418a88/attachment.htm>


More information about the webkit-unassigned mailing list