ui
ui copied to clipboard
fix: bug related to tab display when inactive
This pull request addresses a bug where tabs that were not currently active were not being hidden.
I have fixed this issue by adjusting the logic responsible for determining tab visibility when they are in the inactive state. Tabs that are inactive will be hidden using tailwind hidden
class applied to them, and the data-[state=inactive]
property will be handled correctly to ensure proper tab rendering.
Please review the changes and let me know if there are any concerns or questions. This fix should resolve the problem and improve the overall user experience when interacting with tabs.
@rajgop1 is attempting to deploy a commit to the shadcn-pro Team on Vercel.
A member of the Team first needs to authorize it.
Definitely helps when rendering form fields that span multiple tabs! 👍