Skip to main content
Antoine
Active Member
May 19, 2022

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

  • May 19, 2022
  • 128 replies
  • 14211 views

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. 

128 replies

Kerry_Johnson
Active Member
June 24, 2026

​@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
August 3, 2026

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
August 7, 2026

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
August 8, 2026

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
September 3, 2026

Still an issue? Figma? Really? Come on …

djv
Figmate
djvPinned
Community Support
September 15, 2026

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
September 15, 2026

Thanks for the update!