Container visibility doesn't collapse space in Legacy screen

I’m using a Legacy Screen in Adalo.

Inside a custom list item, I have a Reply Container (containing two rectangles and some text). Its visibility is controlled by a condition.

When the condition is false, the container is hidden, but the empty space where the container was still remains. The layout doesn’t collapse upward.

I already made sure I’m hiding the entire parent container, not just the text.

However, image components on the same screen do collapse correctly when they’re hidden. The issue only happens with this Reply Container.

Is this expected behavior in Legacy screens? If so, what’s the recommended way to completely remove the empty space?

I’ve had a couple of similar encounters. Most were solved by either cutting and pasting the elements back in place, or rebuilding them.

Bit of a pain but it sorted it out.