Open marcoroth opened 1 week ago
In TailwindUI Tabs in mobile become select
This other alternative is to make the tabs header scrollable
I'm surprised daisyUI doesn't handle it out of the box.
@marcoroth, could you share a screenshot to help us understand the issue better? Which tabs are you referring to?
Thanks, @marcoroth, that helps a lot!
Along with the TailwindUI select option, here are two more alternatives based on GitHub's UI approach.
How about a list of collapsible items (accordion-style)? Imagine something like this, but instead of navigating to another page, it expands in place.
Using horizontally scrollable tabs. We may want to add a background to make it clear to users that they can scroll to see more
I like the collapsible option very much but in our case given the length of the transcript tab it might not be really suitable.
The select option from TailwindUI is the most responsive but I am not a big fan of the UX (open to change my mind)
I think scrollable tab would be a good candidate here
my 2 cents
following to this change https://github.com/adrienpoly/rubyvideo/pull/413 the tabs do wrap now on mobile. Maybe not optimum but at least better than creating an overflow.
given also the changes in #423 at least now the talks#show page should not overflow anymore
We might still want to make here the tabs scrollable to prevent the wrap?
Right now the tabs on the speaker show page don't wrap and thus let the whole page content overflow and expand because of it.