[Webkit-unassigned] [Bug 220056] New: Scroll snapping triggers body scroll

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 21 07:49:16 PST 2020


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

            Bug ID: 220056
           Summary: Scroll snapping triggers body scroll
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Intel)
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: augus.dupin at gmail.com

Created attachment 416602

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

Test case

Safari Technology Preview 117, on macOS 10.15.7

In a scroll container where scroll-snapping is enabled, a scroll gesture (followed by the snapping mechanism) causes the body to scroll as well in the same direction.

See the attachment for a test case, also available here: https://output.jsbin.com/qewoyuraya

Steps to reproduce:
1. Scroll vertically inside the yellow box with a trackpad

You will see the body scroll vertically as well as soon as the snapping takes place.

This is quite unexpected and problematic in some cases.
I know this could be prevented by setting the body to overflow: hidden, but it is not always possible or desired.
Note besides that scrolling programmatically the body in this case does not stop the scroll, as it should considering the revisions passed with STP 117.

This problem was not present before STP 116, so this might be a regression due to the changes made on scrolling and scroll-snapping in STP 117.
Possibly related to:
- https://bugs.webkit.org/show_bug.cgi?id=219923
- https://bugs.webkit.org/show_bug.cgi?id=219960
which also appeared in STP 117.

-- 
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/20201221/8d920a51/attachment-0001.htm>


More information about the webkit-unassigned mailing list