[Webkit-unassigned] [Bug 227580] New: Full page scroll snap breaks in iOS Safari 15

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 04:19:23 PDT 2021


            Bug ID: 227580
           Summary: Full page scroll snap breaks in iOS Safari 15
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: Other
            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 432677

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

Movie showing page snapping back to first snap target

Detected in Safari iOS 15 simulator

How to reproduce:

1. Go to a page with `html {scroll-snap-type: y mandatory;}` and snap target elements sized in vh, such as this codepen: https://codepen.io/johannesodland/pen/zYwGvXx
2. Try to scroll down

Expected result:
Page snaps to next scroll target element

Actual result:
Page snaps back to first target element

The bug might be caused by vh units updating as the user scrolls in iOS 15.

This works fine in 14.5

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/20210701/0cdb80e5/attachment-0001.htm>

More information about the webkit-unassigned mailing list