Skip to main content
Antoine
Active Member
May 19, 2022

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

  • May 19, 2022
  • 125 replies
  • 14039 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 for your continued feedback, and we apologize for the confusion caused by this!

As mentioned above, 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.

Again, the team’s original solution was more complicated than they originally anticipated. They will need more bandwidth and more heads to collaborate to get this working as expected.

Our team is still actively tracking this as a feature request and quality improvement for future prioritization. Rest-assured that every new comment is being added to our our open report to give this topic more visibility so that it can be pushed to the top of the team’s priority list.

We’ll be sure to provide an update as soon as we can, but also keep an eye out on our future releases .

125 replies

Jared_r
New Participant
March 5, 2024

+1 I can’t believe this is still an issue

AllieJ
March 8, 2024

Figma please fix this. Having to add an extra frame is a dumb workaround and is confusing when I handoff my file to dev and have to explain it.

djv
Figmate
Community Support
March 8, 2024

Hey All, thanks for the feedback and so sorry for the delay!

Our team is proactively working on this and hope to have a fix soon - stay tuned!

Jeremy_Knudsen
Active Member
March 15, 2024

I can’t wait until this is fixed! I have been running into this issue for some time, and I need it to collapse to zero for both height and width! Thanks!

Ben_Ho
Active Member
April 3, 2024

@Jared_r Totally agreed. Still waiting for this…

djv
Figmate
Community Support
April 3, 2024

Hey All, sorry for the delay!

The solution our team put together was more complicated than they originally anticipated, so the team had to gather more heads to collaborate to get this working as expected.

We’ll be sure to provide an update as soon as we can, but also keep an eye out on our future releases.

kmh
New Member
May 7, 2024

I’m running into this today. I have a list of fixed size where items only appear if they are selected on a parallel list. If I select the, say, third item in the list, it appears fine… except two rows down. It makes no sense for it to be doing this when the width & height of the still-hidden items is set to 0.

Glad to hear a fix is on the way.

Martyn_Bowis
Active Member
May 7, 2024

Keeping this alive until it is resolved…

May 8, 2024

Puh-lease, please fix this. We’re two years in now … 🥴

May 11, 2024

Run into this today, definitely need solution for this