[Webkit-unassigned] [Bug 236561] New: Overflow: hidden on documentElement behaves inconsistently in iOS Safari 15.3.1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 13 05:48:29 PST 2022


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

            Bug ID: 236561
           Summary: Overflow: hidden on documentElement behaves
                    inconsistently in iOS Safari 15.3.1
           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: ik at rejh.nl
                CC: simon.fraser at apple.com

When I set `overflow: hidden;` on documentElement and/or scrollingElement, it only prevents scrolling when the scrollTop = 0 and the Safari UI is visible.

If I scroll first, then set `overflow: hidden;`, I can scroll until scrollTop = 0 and Safari UI becomes visible - *then* it locks.

Note: Only tested this on iPad Mini, iOS 15.3.1

I think this is a regression, #153852 covers overflow on body and was marked as fixed:
https://bugs.webkit.org/show_bug.cgi?id=153852

Related tickets (regarding overflow in standalone / home screen apps):
* https://bugs.webkit.org/show_bug.cgi?id=220908
* https://bugs.webkit.org/show_bug.cgi?id=214781

-- 
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/20220213/dbd8fd69/attachment.htm>


More information about the webkit-unassigned mailing list