Skip to main content
Solved

Frames don't resize to zero height when their content is toggled off via a Boolean property


Dave_Fenner

When creating a component with a frame that houses elements that can be toggled on/off using boolean properties, there is a problem when turning all of those element off. The container frame that is set to hug contents no longer resizes to zero. This means that the autolayout setting on the main component don’t work properly as they consider the empty frame to still be there.

Figma used to have these ‘empty’ frames collapse to zero height if their sizing was set to hug, but this no longer seems to happen.

Many libraries built on this premise will now experience a lot of bugs and issues as the behaviour has changed.

Best answer by Ryan_52

Hi @Dave_Fenner Hey, sorry to hear this is happening!

I would suggest reaching out to the support team directly via this form for help: https://help.figma.com/hc/en-us/requests/new

Be sure to use your Figma account email, include links to the file, and share it with support-share@figma.com so they can take a closer look. I would also recommend including a short video detailing the issue you are seeing as well.

View original
This topic has been closed for comments

2 replies

Ryan_52
Figmate
  • Technical Quality Specialist
  • 382 replies
  • Answer
  • June 7, 2023

Hi @Dave_Fenner Hey, sorry to hear this is happening!

I would suggest reaching out to the support team directly via this form for help: https://help.figma.com/hc/en-us/requests/new

Be sure to use your Figma account email, include links to the file, and share it with support-share@figma.com so they can take a closer look. I would also recommend including a short video detailing the issue you are seeing as well.


  • 0 replies
  • July 7, 2023

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings