Stack Layout: Hidden elements maintain white space

I am currently using the Stack layout for a container and noticed that when the container contains a hidden component, the space taken up by the component remains even when hidden.

Container layout settings:

How it looks in the editor:

I've confirmed that neither the layout container nor the hidden element have the option for maintaining white space checked. I've also confirmed the space is still taken up when the app is published so it's not limited to editing mode.

When I switch back to grid mode, the hidden component does not take up space, so it's only affecting the stack layout. Here is a GIF showing what happens when I toggle between the two layouts:
CleanShot 2024-08-13 at 16.05.04

I'd love to know if there's a way to ensure a hidden component does not take up space in a stack layout

1 Like

Thanks for flagging this, @cosmick

I am able to reproduce this behavior. I'll report it to our team & will let you know if they're able to ship a fix

1 Like

This should be fixed by the end of the week :blush: :crossed_fingers:

1 Like

That's great news! Thanks very much, @Tess ! :raised_hands:

Also excited for this fix - holding onto a form module publish that kinda looks like a bingo board :joy:

Horizontal stack configuration is basically flawless (imo) and solves a ton of problems for me