NEW236586
Scrollbar on body can't be hidden on iOS with ::webkit-scrollbar
https://bugs.webkit.org/show_bug.cgi?id=236586
Summary Scrollbar on body can't be hidden on iOS with ::webkit-scrollbar
Alex Moore
Reported 2022-02-14 03:56:37 PST
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
Radar WebKit Bug Importer
Comment 1 2022-02-14 19:56:22 PST
Simon Fraser (smfr)
Comment 2 2022-02-25 18:27:12 PST
Need to share some code between ScrollingTreeScrollingNodeDelegateIOS::commitStateAfterChildren() and the main UIScrollView.
Bruno Stasse
Comment 3 2024-01-19 06:53:30 PST
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).
Note You need to log in before you can comment on or make changes to this bug.