[Webkit-unassigned] [Bug 272079] New: Fragment links does not work with scroll-snap on root

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 3 02:47:30 PDT 2024


            Bug ID: 272079
           Summary: Fragment links does not work with scroll-snap on root
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: iOS 17
            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

Anchor links on a page with scroll-snap on the root/html element fails. 

Steps to reproduce: 
1. Open https://johannesodland.github.io/browserbugs/2024/safari-scroll-snap-fragment-links-issue.html
2. Click on one of the anchor links 

Expected result: 
The linked fragment/section is scrolled into view.

Actual result: 
The browser sometimes scrolls down to the relevant fragment, but snaps back to the top.

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/20240403/0d2cdc17/attachment.htm>

More information about the webkit-unassigned mailing list