Open Bug 1230547 Opened 9 years ago Updated 2 years ago

Need API to hide scrollbars / scroll indicators

Categories

(Core :: Layout, defect)

defect

Tracking

()

Tracking Status
firefox45 --- affected

People

(Reporter: cwiiis, Unassigned)

References

Details

Several situations in FirefoxOS have come up where we want to have scrolling areas that do not show scroll indicators. There is currently no way to hide scroll indicators (beyond unreliable sizing hacks that place them off of the screen).

Ideally there'd be some CSS we could specify that would inhibit scrollbar/scroll indicator rendering on that element.

This is a bigger issue now we have CSS scroll snapping and have started to rely more on that feature, rather than JavaScript+transforms.
"overflow: hidden" doesn't work because you want the user to be able to scroll the thing, not just scroll it programmatically?
(In reply to Boris Zbarsky [:bz] from comment #1)
> "overflow: hidden" doesn't work because you want the user to be able to
> scroll the thing, not just scroll it programmatically?

Right.
David, do we have existing suggestions for doing this?
Flags: needinfo?(dbaron)
(CSS or Layout might be a bit better Component for this.)
Component: DOM: Core & HTML → Layout
I don't think we have any existing mechanism for this.  I suppose it's worth adding -- although it seems like it would be confusing for users to understand that such things are scrollable.
Flags: needinfo?(dbaron)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.