Figma Support Forum

Container wont resize when changing childs variant to a different sized variant

I have a container that hugs content. Within it, there is a component that has three variants. All the same width but different heights. For some reason when I change the variant it does not update the container with the new variants height, and so the container stays at the same height as the default variant and the content either spills or is not hugged by container.

Assistance would be much appreciated! Thank you.

Hi @Jonathan_Oren, is this what you are facing: Resizing an instance with variants?

In the same thread, there is a sample file that works with resizing variants.

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