Figma Support Forum

Auto layout height doesn't adjust?

Hey guys, need some help with auto layout.

I have a component with 2 variants that have different height (let’s call it an Element). This Element instance is nested in a Composition component with auto layout

When I want to change the Element variant on the Composition Instance, the height on the Composition doesn’t adjust. But when I change the variant on the master Composition component, it works as expected. Is there any workaround for this?

You can check the video here → auto layout.mov - Google Drive

thanks! :grinning:

A post was merged into an existing topic: Resizing an instance with variants