Skip to main content
Jun 16, 2023 12:23 PM UTC
Question

Auto Layout Bug?!

Hi everyone
I ran into an auto layout “problem” that makes me doubt what is the expected behaviour.

I could swear by that having the following settings resulted in an auto layout hugging the fixed item and the text adapting to the width of the fixed item. Instead the text just runs as wide as it can and the auto-layout adjusts itself after it. The only fix is setting the auto layout to fixed and then adjusting the fixed item to match the size.

Auto layout
Width: hug
Height: hug

Item A Image
Width: fixed
Height: fixed

Item B Text
Width: Fill
Height: Hug

This topic has been closed for replies.

13 replies

Arnaud4
Jul 18, 2023 8:16 AM UTC

After this morning’s Figma update, I ran a test by re-releasing a UI kit from Ant Design. The bug seems to have been fixed with this new library release. Thanks @Figma_Support

Jul 28, 2023 4:35 PM UTC

@support_team I can confirm I’m also getting this issue. a work around is to remove the item from the auto-Layout in the layers window and then place it back into the same Auto-layout Group

Josh
Former Community Manager
Jul 28, 2023 4:42 PM UTC

Head’s up that support_team isn’t a user/group associated with Figma.