Skip to content

feat(Tabs): allow to hide scrollbar#1103

Merged
tenphi merged 2 commits intomainfrom
feat-tabs-scrollbar-hiding
Mar 30, 2026
Merged

feat(Tabs): allow to hide scrollbar#1103
tenphi merged 2 commits intomainfrom
feat-tabs-scrollbar-hiding

Conversation

@tenphi
Copy link
Copy Markdown
Member

@tenphi tenphi commented Mar 30, 2026

Note

Low Risk
Small, opt-in UI behavior change scoped to Tabs rendering/styling; primary risk is minor visual/scroll state regressions when the new prop is enabled.

Overview
Adds a new hideTabListScroll prop to Tabs to visually hide the custom tiny horizontal scrollbar and avoid applying its style/tracking behavior, while keeping tab scrolling, fade indicators, tab picker, and scroll arrows working as before.

Updates the public API surface (types + docs), adds a Storybook example (HiddenScrollbar), and adds unit coverage to ensure the scrollbar element is omitted when enabled and that core rendering/scroll arrows still behave.

Written by Cursor Bugbot for commit cd07ce9. This will update automatically on new commits. Configure here.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 30, 2026

🦋 Changeset detected

Latest commit: cd07ce9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@cube-dev/ui-kit Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

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

Project Deployment Actions Updated (UTC)
cube-ui-kit Ready Ready Preview, Comment Mar 30, 2026 9:55am

Request Review

@github-actions
Copy link
Copy Markdown
Contributor

📦 NPM canary release

Deployed canary version 0.0.0-canary-5b2a269.

@github-actions
Copy link
Copy Markdown
Contributor

🧪 Storybook is successfully deployed!

@github-actions
Copy link
Copy Markdown
Contributor

🏋️ Size limit report

Name Size Passed?
All 360.79 KB (+0.01% 🔺) Yes 🎉
Tree shaking (just a Button) 101.22 KB (0% 🟰) Yes 🎉

Click here if you want to find out what is changed in this build

@tenphi tenphi merged commit f96c2ca into main Mar 30, 2026
16 checks passed
@tenphi tenphi deleted the feat-tabs-scrollbar-hiding branch March 30, 2026 10:00
@github-actions github-actions bot mentioned this pull request Mar 30, 2026
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