You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there @kevinvayro! My apologies for the delay on this one—we've been super heads down working on the big v4.0 release and are a little behind on GitHub issues. Finally coming up for air after the release last week and catching up on things 😅
So this is actually the intended behavior for these components. When you're on mobile showing tabs can be problematic if there isn't enough space for them all. So we opt to switch from the tabs to a select input on mobile, as choosing items in a native select on mobile devices is generally a nice experience.
That said, that's not the only way you could handle this. You could:
Always show the tabs when you know there will always be sufficient space.
Add horizontal scrolling on mobile instead of using a select input.
Switch to some sort of vertical navigation on mobile.
You get the idea! We opted for a select input on mobile for these components, but you're welcome to modify them in your own project to better fit your particular needs.
@reinink thanks for coming back to me. The behaviour was actually on desktop rather than mobile but I noticed a couple of weeks back that the examples were now showing correctly again.
What component (if applicable)
Describe the bug
All tab examples are showing as dropdown boxes rather than tabs as intended.
To Reproduce
https://play.tailwindcss.com/YFuDS0sEKo
Screenshots
Expected
Current
The text was updated successfully, but these errors were encountered: