[Webkit-unassigned] [Bug 245722] New: Smooth scroll on iframe fails on iOS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 27 03:09:58 PDT 2022


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

            Bug ID: 245722
           Summary: Smooth scroll on iframe fails on iOS
           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 462654

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

Video of the test on iOS 16

This bug is a related to https://bugs.webkit.org/show_bug.cgi?id=239063 that was fixed this summer.

It can be triggered on the same test with a slightly different procedure:

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

How to replicate: 
1. Open debug view of https://codepen.io/johannesodland/pen/PoEaMWO on iOS Safari 16
2. Click `next` to trigger scrollIntoView (it scrolls to the second section)
3. Click `previous` to trigger scrollIntoView (it scrolls to the first section)
4. Scroll manually to the second section so that url bar / browser chrome is hidden. 
5. Click `previous`

Expected result: The first section should scroll 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/20220927/b5f47dbc/attachment.htm>


More information about the webkit-unassigned mailing list