Skip to main content
Antoine
Active Member
May 19, 2022 12:11 PM UTC

"Empty" Auto Layout Frame keeps the size of last hidden child

Hi, I’m not sure if this is new since the May update, but I wonder why “empty” (all elements hidden) Auto Layout Frames keep the size of the last hidden child (and I do not mean last in the list, but the last element to have been toggled out of view by the user), making them not-0px high even with nothing in them.

See here a file with a Frame with three hidden rectangle: the Frame keeps the size of the last child rectangle to have been hidden. When adding a 0-px Frame to the AL frame, and toggling this 0-px Frame off last, the container goes 0-px.

In my opinion, empty AL Frames should have a height of 0. What do you think?

Pinned Reply By djv

Hey All, thanks again for your continued feedback, and I finally have an update!

 

As mentioned previously, this is behavior is currently a known feature limitation in Figma. We do not allow Auto layout frames to collapse to 0 when the child layers are hidden, so it is expected that the frame will remain sized as if they were shown.

The team has confirmed that they now have the bandwidth to get this working as expected. In the meantime, they have a temporary solution: Add a visible zero-sized frame. Since the container is then not empty, it will hug to the visible child, which is zero-sized.

 

While I know this may not be the solution you want, please know that we’re getting closer. I’ll be sure to update you all again once we have a more firm timeline on the fix. 

129 replies

Kerry_Johnson
Active Member
Jun 24, 2026 2:19 PM UTC

​@Kerry_Johnson agree, but I would argue that it should just be the default. I cant think of any reason why I would want it to be not-zero.

Agreed for new layers.

Paulo Cholla
New Member
Aug 3, 2026 9:24 PM UTC

wow, 3 years and nothing?

i can picture the PMs and C-Levels telling the team to prioritize AI or whatever other features to get new customers instead of keeping the current ones happy. maybe it holds up until the next UI software really focus on solving basic issues their heavy users have

Michael Dralle
New Member
Aug 7, 2026 12:38 PM UTC

Keeping this issue alive until it’s finally fixed. It’s an annoying issue in daily work again and again and again.

Ide idrees
New Participant
Aug 8, 2026 6:55 AM UTC

Yeah, I can see why this would be confusing. If all the children are hidden, I’d expect the Auto Layout frame to collapse to 0 rather than retain the size of whichever child was hidden last. That behavior seems unintuitive, especially when the frame is being used inside a larger responsive layout.

Lea.P
New Participant
Sep 3, 2026 1:26 PM UTC

Still an issue? Figma? Really? Come on …

djv
Figmate
djvPinned
Community Support
Sep 15, 2026 6:48 PM UTC

Hey All, thanks again for your continued feedback, and I finally have an update!

 

As mentioned previously, this is behavior is currently a known feature limitation in Figma. We do not allow Auto layout frames to collapse to 0 when the child layers are hidden, so it is expected that the frame will remain sized as if they were shown.

The team has confirmed that they now have the bandwidth to get this working as expected. In the meantime, they have a temporary solution: Add a visible zero-sized frame. Since the container is then not empty, it will hug to the visible child, which is zero-sized.

 

While I know this may not be the solution you want, please know that we’re getting closer. I’ll be sure to update you all again once we have a more firm timeline on the fix. 

Kerry_Johnson
Active Member
Sep 15, 2026 9:31 PM UTC

Thanks for the update!

Mike42
New Member
Oct 31, 2026 3:15 PM UTC

Any movement on this? I’m having to do lots of crazy workarounds to get slots and autolayout containers working so you can collapse them when hidden or drag and drop items into them. They should collapse to zero when hidden as default behaviour. Hopefully it doesn’t take another 4 years to get this resolved 🙏