[Webkit-unassigned] [Bug 282347] New: Setting overflow:hidden on body when it's the scrolling element will only work if Safari address bar is visible
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 30 12:36:23 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=282347
Bug ID: 282347
Summary: Setting overflow:hidden on body when it's the
scrolling element will only work if Safari address bar
is visible
Product: WebKit
Version: Safari 17
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Scrolling
Assignee: webkit-unassigned at lists.webkit.org
Reporter: zouhir at google.com
CC: simon.fraser at apple.com
## Repro steps
- Open https://demo-webkit-scroll-lock.glitch.me in Safari Browser
### Case a
- a.1 Make sure Safari Address Bar is **visible**
- a.2 Click lock scrolling button, this will add `overflow: hidden` to the body element
- a.3 Try to scroll up and down
### Case b
- a.1 Make sure Safari Address Bar is **HIDDEN**
- a.2 Click lock scrolling button, this will add `overflow: hidden` to the body element
- a.3 Try to scroll up and down
## Expected
- Case a: locks scrolling / document does not scroll
- Case b: locks scrolling / document does not scroll
## Actual
- Case a: successful, locks scrolling / document does not scroll
- Case b: fails
## Conclusion
The visibility of the address bar seems to interfere with scrolling and Safari's ability to apply consistent overflow rules on the scrolling element when it's both hidden and visible.
--
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/20241030/cf70a780/attachment.htm>
More information about the webkit-unassigned
mailing list