Skip to main content
Question

Nested component autolayout bug strikes again!


Jesse_Wallace

I submitted this bug Q1 2022 and it was a verified bug that was fixed for many, but it seems to be back again.

Components that have nested instances with variable widths are not resizing correctly. You can see in this short video:

  • I start with a component that has two different sized variants
  • Both variants have autolayout and hug contents on them
  • I have a container component which contains a single shape and one instance of the nested block. That container component has autolayout and hug contents set as well.
  • If i change the variant inside the master container component, the master container component expands as it should.
  • I have an instance of the master container component at the bottom, where if I change the nested block component variant, you can see that the master container component doesn’t appropriately respond in size.

This is the exact same bug/issue I ran into a year ago. Anyone else having this? Is this a known/documented bug? As a fundamental use case, this is going to have recursive issues through many existing and any new files I create.

This topic has been closed for comments

3 replies

Eric_Alm1
  • New Member
  • 2 replies
  • April 18, 2024

I also experienced this today. It’s quite irritating when there are bugs tied to component like this. You do all the effort to build something flexible and dynamic but a bug like this force you to add ugly hacks to make it work or completely sidestep your design philosophy… A hack that will be hard to understand some months later…


Celine_D
Figmate
  • Community Support
  • 3399 replies
  • April 19, 2024

Hi everyone, thanks for flagging it and sorry to hear this is happening! From what you mentioned, this looks like a regression but I would like our support team to investigate it further to check what’s causing this. (there is no ongoing bug report about this issue at the moment).

If you are hesitant to share your file here, please reach out to the support team directly: https://help.figma.com/hc/en-us/requests/new Be sure to use your Figma account email, include your video recording, a link to the file, and share it with support-share@figma.com, so we can take a closer look. Thank you!


curlybrackets

Hi,
any news here? I am experiencing the same issue.


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