[Webkit-unassigned] [Bug 239063] New: [css-scroll-snap] scrollIntoView fails with scroll-snap-type on :root

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 11 02:30:10 PDT 2022


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

            Bug ID: 239063
           Summary: [css-scroll-snap] scrollIntoView fails with
                    scroll-snap-type on :root
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: iOS 15
            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

element.scrollIntoView() does not work when using `scroll-snap-type: y mandatory` on `:root` in iOS.

How to replicate: 
1. Open debug view of https://codepen.io/johannesodland/pen/PoEaMWO on iOS Safari 15
2. Click next to trigger scrollIntoView

Expected result: Second section scrolls into view.

Result on iOS Safari: Nothing happens.

Other browsers and desktop safari works as expected.

-- 
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/20220411/ee65bc2c/attachment.htm>


More information about the webkit-unassigned mailing list