Skip to main content
Question

Autolayout selections keep resetting

  • April 27, 2026
  • 1 reply
  • 5 views

Taylor_Dunham

When i have autolayout settings on a component set to fill, and then I change something else in the same frame, the fill settings for the components switch back to “hug”. Doing something else can even just mean selecting a different component on the same frame. Even after fixing it a 2nd, 3rd, or 4th time - the issue persists!

I have noticed this happens especially, if I’m using components and just change the instance’s width. 

What do I do? It’s causing problems when handing off bc nothing stay set the way it’s supposed to.

1 reply

djv
Figmate
  • Community Support
  • April 27, 2026

Hey ​@Taylor_Dunham, thanks for reaching out about this! 

This definitely sounds frustrating. What usually happens is that “Fill” depends on the parent Auto Layout behaving in a way that supports it. When something else changes in the frame, Figma will recalculate the layout, and it falls back to “Hug”, if there’s any conflict.


Here are a few common causes to check:

  • The parent frame might not have Auto Layout (or isn’t set up in a way that allows children to fill)
  • The parent is set to “Hug,” which can conflict with children set to “Fill”
  • The component was moved in/out of frames, which can reset how Figma interprets its sizing
  • Certain edits (like padding or direction changes) can trigger this reset


Here’s what you can do to fix:

  • Make sure the parent frame has Auto Layout and isn’t set to “Hug” if you want children to fill
  • Reapply “Fill container” after placing the component inside the correct parent
  • As a workaround, try wrapping it in a temporary Auto Layout frame (Shift + A), set that to Fill, then remove the wrapper
  • Toggling “Absolute position” on/off can also reset the behavior in some cases


Hope this he​lps explain and allows you to prevent it from reoccurring!