[Webkit-unassigned] [Bug 255592] New: [css-scroll-snap] scroll-to-top gesture on page with scroll-snap on html fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 18 05:22:08 PDT 2023


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

            Bug ID: 255592
           Summary: [css-scroll-snap] scroll-to-top gesture on page with
                    scroll-snap on html fails
           Product: WebKit
           Version: Safari 16
          Hardware: iPhone / iPad
                OS: iOS 16
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Scrolling
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: johannes.odland at nrk.no
                CC: simon.fraser at apple.com

Created attachment 465959

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

Video of the issue

A scroll-to-tap gesture on a page with scroll-snap on the root/html element fails. 
After the browser has scrolled to the top, the browser snaps back to the previous snap position.

Steps to reproduce:
1. Open a page with scroll-snap on root (https://johannesodland.github.io/browserbugs/safari-scroll-snap-scroll-to-top-issue.html)
2. Scroll down so that the viewport snaps to a position further down on the page
3. Tap the status bar to scroll to the top of the page

Expected result: 
The browser scrolls to the top of the page and snaps to the first snap position.

Actual result: 
The browser scrolls to the topp of the page, then resnaps to the previous snap point which might be far down on the page

-- 
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/20230418/833cf2c9/attachment.htm>


More information about the webkit-unassigned mailing list