Variable on scaled component gets scaled

I have a component, which in my case is an Avatar. The local instance of that component is scaled down from its original size.

I have observed that while applying a border to the component and adding a variable for the size, it also gets scaled down. However, if the size of the border is manually typed, it appears fine.

In my scenario, I want to use a variable for a 2px border size, but when applied, it gets converted to 0.4.

When I use the component the stacked avatars are placed in, they appear with a 2px border no matter that in the component itself it’s 0.4, and everything looks okay.

image

Hi there,

Thanks for reaching out! I’m checking this with our internal team. I will get back to you when I have anything I can share with you.

Thanks,
Toku

Hi there,

Thank you for your patience! I have consulted with our internal team and it appears this could be a known issue. I understand this isn’t the ideal solution, but manually overriding is a temporary workaround.

To verify if this is indeed a bug, could you please contact our support team directly and provide them with a copy of your file? You can reach them here: https://help.figma.com/hc/en-us/requests/new. They will be able to investigate further.

When reaching out, please make sure you use the email associated with your Figma account, include the links to the file in question, and share access with support-share@figma.com. Rest assured, inviting us to view your file won’t impact your billing.

Thanks,
Toku