Figma Support Forum

Prototyping with Auto Layout/Variable Component sizing issues

I’ve run into a prototyping issue where variable components are acting differently depending on if they’re used as components, or as component instances

It seems that this is caused when creating a fixed-width element with a size variation, next to a full-width section

Expected functionality: When the variation is changed and the fixed width element gets larger (or smaller), it takes up the appropriate space while frame next to it adjusts to fill the remaining space

Actual functionality: This functionality works as expected in the main component, but once you swap to using an instance the instance doesn’t follow the same rules - instead, the default variant gets set as the only width, while other variations now do not grow to their respective sizes.

See the video for an example
Processing: Screen Recording 2021-11-19 at 15.48.12.mov…

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.