Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[bug]: Title: First Tab in TabsList Not Fully Visible or Gets Cut Off #6743

Open
2 tasks done
vipulchaube opened this issue Feb 23, 2025 · 0 comments
Open
2 tasks done
Labels
bug Something isn't working

Comments

@vipulchaube
Copy link

Describe the bug

When using the Tabs component from @shadcn/ui, the first tab (TabsTrigger) inside TabsList is either not fully visible, gets cut off, or does not render correctly. This issue occurs when using both dynamically mapped and hardcoded TabsTrigger components.

Affected component/components

tabs

How to reproduce

Tab One Tab Two Tab Three Tab four Tab five Tab six Tab seven Tab eight Tab nine

Content for Tab One
Content for Tab Two
Content for Tab Three

Expected Behavior: The first tab ("Tab One") should be fully visible.

Codesandbox/StackBlitz link

No response

Logs

System Info

Browser: Chrome / Firefox 
 "@radix-ui/react-tabs": "^1.1.3",

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@vipulchaube vipulchaube added the bug Something isn't working label Feb 23, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant