Skip to content

Horizontal bar on overflow; scrollbar auto-hide options - #39

Merged
uiwwsw merged 1 commit into
mainfrom
feat/scrollbar-options
Nov 26, 2026
Merged

uiwwsw merged 1 commit into
mainfrom
feat/scrollbar-options

Conversation

@uiwwsw

@uiwwsw uiwwsw commented Nov 26, 2026

Copy link
Copy Markdown
Owner
  • Horizontal bar appears along the bottom of the track only when the page/area overflows sideways (verified: hidden normally; with a 3000px element it shows at 701–711px above the tab bar, scrollTo left 300 works; hidden again after removal).
  • scrollbar={{ autoHide, autoHideDelay, autoHideSuspend }} on the provider.
  • Tests for option defaults/validation and horizontal-only tracks. npm test 60 pass, check, build.

🤖 Generated with Claude Code

Pages that overflow sideways scrolled horizontally with no visible bar.
Show OverlayScrollbars' horizontal bar along the bottom of the track only
while that axis overflows; the vertical bar leaves the corner free. The
slot now hides only when the track has no area, since each drawn bar
hides itself when its axis does not overflow.

Add scrollbar={{ autoHide, autoHideDelay, autoHideSuspend }} on the
provider (defaults: 'move', 800, true). Scrolling is unaffected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
stackflow-next Ready Ready Preview Nov 26, 2026 2:22am UTC

@uiwwsw
uiwwsw merged commit 47d6cf5 into main Nov 26, 2026
4 checks passed
@uiwwsw
uiwwsw deleted the feat/scrollbar-options branch November 26, 2026 02:22
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