Skip to main content

Im inserting a variant inside another variant.



  • The 1st variant has state changes that differ in width

  • That is supposed to also change the width of the 2nd variant, because 1st is inserted inside 2nd

  • In the variant definition area, it works correctly

  • When inserting a real instance of the component, it breaks


Jul-30-2021 11-00-59


Any idea of what i could be doing wrong? Is this a bug?

I might be misunderstanding but I think you need to set the constraint inside the “row” variant to be “hug contents”?


it was already in “hug contents”, but i managed to solve it by adding an auto layout to each variant of the “line” component 🙂


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