Conditionally show hide tabs in tab element

Hi there,

I want to dynamically show/hide tabs in the tab element. This works, but the tabs are not collapsing. Please take a look below
image

How can I push Tab 4 against Tab 2?

Not possible at the moment, best next thing until we improve the tab element is making your own tabs

You need a variable that will hold the active tab name, and then use conditional display under element settings to show content depending on the name

Thanks! I will make my own tabs when needed. For now I only need to conditionally show 1 tab, which I placed at the end. So far so good.