Skip to main content
Question

Instance not behaving like component


Cecilia_Marnero

Hi.
I have a component (timer) that includes a sub component (nextStop) with different variants (ie on, off, static). In the main component you can switch to variants and everything is fine but in the instance when you switch, the sub component changes its size, you can even isolate it and see that each variant has the exact same size, so why does it change only in the instance if size is set in the main component?

here’s the file:
https://www.figma.com/file/kGrgQVCcefppomxZh0APH8/issue-instance?node-id=0%3A1

Thanks for your help.

2 replies

Avokadomos
  • Active Member
  • 376 replies
  • August 18, 2022

This is weird behavior, indeed. I’ve tested this thoroughly, and found that there are multiple combinations of auto layout and contraints that cause the instance to reset its size.

I made some comparisons:

Figma – 18 Aug 22

Cecilia_Marnero
  • Author
  • New Participant
  • 12 replies
  • September 10, 2022

Thanks you so much for all your tests! yes I definitely think this a bug was not me


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings