[Webkit-unassigned] [Bug 253196] New: [Scroll Snap] Scroll snapping to a section taller than the viewport causes scroll to jump too far

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 1 14:42:57 PST 2023


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

            Bug ID: 253196
           Summary: [Scroll Snap] Scroll snapping to a section taller than
                    the viewport causes scroll to jump too far
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zouhir at google.com
                CC: simon.fraser at apple.com

iOS: 16.3.1
macOS: 13.2.1
Safari: 16 (stable)

What steps will reproduce the problem?
(1) Go to https://scroll-snap-demo.web.app/
(2) Scroll down all the way to the colorful sections (~3000px or so).
(3) Once on the *first* colorful section, scroll up (even gently if you want).

What is the expected result?
- Scroll up a reasonable amount, matching my gesture / fling momentum & distance.

What happens instead?
- Scroll shoots up way too much (3000px or more even with gentle scroll gesture), to the beginning of the tall div.

We have a crbug open to discuss how can we get rid of `scroll-snap-align: start` which might help addressing this issue too.

-- 
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/20230301/13a74f24/attachment-0001.htm>


More information about the webkit-unassigned mailing list