Hide scrollbars and contain overscroll
For a frame that scrolls, hide its scrollbars and stop its scroll from moving the page behind it.
On this page 3 sections
A row of tabs or cards that scrolls sideways looks cleaner without a scrollbar. Hiding it doesn't stop it scrolling.
Set it up
- Select the frame. In Properties, open Layout and set Overflow to Scroll or Auto.
- Two rows appear below it:
- Scrollbars: Shown or Hidden.
- Overscroll: Default, Contain or None.
What they do
- Hidden removes the scrollbar. Visitors still scroll with the wheel, by touch and with the keyboard.
- Contain keeps a scroll that reaches the end of the frame from scrolling the page behind it.
- None does the same, and also stops the bounce some devices show at the end.
Good to know
- Both are set per breakpoint. Choose Shown at a breakpoint to bring the scrollbars back there.
- With the scrollbar hidden, visitors have no sign that there is more. Let the next item stick out at the edge.
- You can ask the AI to make a frame scroll sideways without a scrollbar.