Skip to main content

 

Im having a problem with comonents when the size is set by a variable and the aspect ratio is locked.

https://www.figma.com/design/JZunLI0B65xrRYRCmKWt4I/Component-Size-var-Bug?node-id=0-1&t=0OWhhCZcN6yK8qEP-1

 

1: You can see in this doc the component is designed in 100x100.

2: With aspect ratio locked and entering the size manualy to 120 things work as expected.

3: When the size is applyed as a var the size is incorrect 109,54x109,54

4 Without the aspect ratio lock the hight is correct when the var is applyed

5: The basic frame not made into a component works with the var as expected.

 

Has anyone else noticed this behaviour and have you found a sollution?

 

Thanks

 

 

Ill answer my own question the lock needs to be set on the compont itself as well.

 

 


Hey there! Glad to hear you have found a solution. 🙂

I’ve gone ahead to mark as solved your topic, thank you!


Reply