RESOLVED DUPLICATE of bug 226816 227580
Full page scroll snap breaks in iOS Safari 15
https://bugs.webkit.org/show_bug.cgi?id=227580
Summary Full page scroll snap breaks in iOS Safari 15
Johannes Odland
Reported 2021-07-01 04:19:23 PDT
Created attachment 432677 [details] 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
Attachments
Movie showing page snapping back to first snap target (632.36 KB, video/mp4)
2021-07-01 04:19 PDT, Johannes Odland
no flags
Simon Fraser (smfr)
Comment 1 2021-07-01 11:04:45 PDT
*** This bug has been marked as a duplicate of bug 226816 ***
Note You need to log in before you can comment on or make changes to this bug.