By default tab one always stays in the first tab position, tab two in the second and so fort.
Is there a way to change the active tab’s position in the tab hierarchy?
I’d like the tabs to re-shuffle so that the active tab moves to first position on desktop and to last position on mobile.
Thank you so much, Vincent!
Simple, and seems to work perfectly.
Why didn’t I think of using the flex child order for the active state in the first place?!