Skip to content

Make sidebar scrollbar appear only when scrolling - #228

Merged
MaplumeX merged 1 commit into
mainfrom
feat/sidebar-scrollbar-on-scroll
Oct 13, 2026
Merged

MaplumeX merged 1 commit into
mainfrom
feat/sidebar-scrollbar-on-scroll

Conversation

@MaplumeX

Copy link
Copy Markdown
Owner

What

Set type="scroll" on the ScrollArea used by the sidebar navigation list (packages/ui/src/components/layout/Sidebar.tsx), instead of relying on the default behavior.

Why

The sidebar scrollbar was permanently visible whenever the list overflowed, which added visual noise to an otherwise quiet part of the layout. With type="scroll", the scrollbar now fades in only while the user is scrolling (and shortly after), keeping the sidebar clean while still giving clear affordance when the content overflows.

Notes

  • One-line change; no behavior change to drag-and-drop or the drop area inside the scroll container.
  • type="scroll" works on both hover-capable and touch devices, so mobile users still get a visible indicator while scrolling.

@MaplumeX
MaplumeX merged commit 5a76556 into main Oct 13, 2026
4 checks passed
@MaplumeX
MaplumeX deleted the feat/sidebar-scrollbar-on-scroll branch October 13, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant