🆕 Tabs Container and Tabs Components in Public Preview

Thought I’d let you know that in the editor and IOS tabs show full width (awesome!)

BUUUT on android they show all yucky and off to the left

5 Likes

Thanks for the report!

1 Like

Did you figure this out? I used the TAB component but am moving to TAB containers and this is a UI issue. I assumed Glide handles concurrency between users so every user sees their own Tab state not one big shared ‘Tab’ but switching users in the builder seems to show the same ‘Tab’ state for all users. And I would assume the first TAB is the default Tab but it is more like the TAB state is based on the last user to view that TAB.

Not sure if this is expected behavior or……

There’s no fix for that at the moment because the problem is you can not set a “current tab” value somewhere. Hope this becomes a feature.

I wouldn’t worry unless it’s the same behavior in production, though I understand it’s harder to test that way.

TAB container follow-on. I don’t see a CSS class for the sub-containers within a TAB container.

Is this coming?

The use case is @Darren_Murphy methodology for mobile/desktop display except this doesn’t work within a TAB container. In this case if the screen size is “mobile” I want to show a specific AI component.

Thanks @ThinhDinh

I’m not sure what you’re referring to here. Can’t you just do this?

1 Like

Same. I have no idea what is being referred to either :man_shrugging:

1 Like

This is how you described desktop vs mobile technique using css which I have found very useful. Sorry for being out of context.

You should use the Screen Size variable now, it became available after the “workaround” I believe.

Assume you mean this in visibility? TIA

1 Like

Oh, right.

Yeah, no need for CSS anymore. Do what @ThinhDinh said.

1 Like