Guide
Predictive Auto Layout Resizing Across Figma Clients and Nested Hierarchies
Steps to verify nested Auto Layout behavior when resizing parent frames compare web and desktop clients and export consistent asset dimensions.
Published by Tasadduq Burney
26 Mar 2026, 09:21 UTC
3 min98.7K views0

Goal: Consistent Responsive Behavior Across Clients
When working with nested Auto Layout in Figma resizing a parent frame should reposition child nodes without overlap or clipping. In practice behavior varies between the web and desktop clients and export dimensions can mismatch the UI if constraints are not properly understood. This guide provides a repeatable procedure to verify those behaviors, inspect the underlying constraint JSON, and recover when nesting depth or client differences cause unexpected results.
Before You Begin
- A Figma file containing at least one nested Auto Layout group (parent frame child frame content).
- Familiarity with the three primary Auto Layout resizing modes Fixed Hug Contents and Fill.
- Access to both Figma web (browser) and desktop clients for cross client comparison if possible.
Procedure
- Set up the nested layout. Create a parent frame with Auto Layout enabled. Set its width resizing to Fill and height to Fixed (or vice versa depending on your canvas orientation). Inside add a child frame also set to Auto Layout; set its width to Hug Contents so it expands only as needed and height to Fill to match the parent.
- Resize the parent frame. Drag the parents edge to expand and contract its width. Observe the child frame its content should reflow according to the Hug Contents mode maintaining vertical alignment and the horizontal spacing you set.
- Check for overlap or clipping. If the child node extends beyond the parents bounds the Fill height mode may be pushing content upward. Adjust the parents padding or the childs vertical resizing mode.
- Switch clients. Open the same file in Figma web at figma.com and repeat the resize. Compare how the child node moves whether spacing preserves and if any constraint cascades differently.
- Inspect the export JSON. With the parent frame selected open the Export modal. Click Copy as JSON (or view the Inspect panel Constraints section). You should see keys for padding spacing alignment and vertical horizontal resizing behavior. Confirm these keys match the values you set in the Auto Layout panel. For reference the constraint object typically includes nested objects for padding left right top bottom a number for spacing and a text value for alignment.
Expected Checks
- Child nodes reposition without overlapping or clipping parent bounds when the parent frame is resized.
- Export dimensions (width and height) match the resized frames dimensions shown in the UI.
- JSON constraint keys (padding spacing alignment) correspond exactly to the Auto Layout panel settings.
- Behavior is consistent across at least two Figma clients (e.g. web and desktop). If divergence appears note it for team documentation.
If Things Go Wrong
- Constraint cascading. Nested Auto Layout depth beyond three levels may cause unexpected constraint behavior in large files. Simplify the hierarchy to three levels or use component variants to lock desired resizing per variant.
- Export mismatch. If exported assets differ from the canvas reset the Auto Layout on the affected frame re apply the resizing modes and re export.
- Cross client sync. For teams using both web and desktop record the observed behavior in the files comment field. Prefer the desktop client for complex nested layouts as it generally handles constraint cascading more reliably.
0 replies
A thoughtful contribution can make all the difference. Be the first to share one.