Bug 236586
| Summary: | Scrollbar on body can't be hidden on iOS with ::webkit-scrollbar | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alex Moore <matthew.garrath.thomas> |
| Component: | Scrolling | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | augus.dupin, nmouchtaris, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 15 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 15 | ||
Alex Moore
iOS Only (15.3)
The scrollbar on body can't be hidden on iOS with ::webkit-scrollbar, although it can be everywhere else (including Safari macOS)
-> Need WebKit iOS to support ::webkit pseudo-elements so we can set ::webkit-scrollbar width to 0 to hide it, like we can in both Safari and Chrome MacOS (Firefox uses another system).
Probably some work to standardize this across all browsers would be nice.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/88943534>
Simon Fraser (smfr)
Need to share some code between ScrollingTreeScrollingNodeDelegateIOS::commitStateAfterChildren() and the main UIScrollView.
Bruno Stasse
Any update on this?
This would significantly improve the experience when showing a scrollbar on the body doesn't make sense (some use cases when using scroll-snap, or when using a custom scroll indicator).