Horizontal resizing issues when changing variables

I’ve noticed a bug in Figma, where all Fill resizing fallbacks onto Fixed when changing Layer variables… Is this expected ? It really is a pain a the moment…

Anyone having this issue ?

Hey @Edward_Battistini1, thank you for reaching out and hope you’re doing good!

Hmm this looks odd :thinking:, I can understand your frustration!
I’d like to forward this to the teams internally, can you let me know if clearing out the cache resolves the issue? Also please try to force-quit and open Figma in a new browser window or force-quit the Figma Desktop app and restart it.

Thanks in advance!

1 Like

Hi Gayani,

Glad to see you around here :smile:
Thank you for the pointer… unfortunately this still happens,
It seems to only happen when variables are impacting sizes.

It won’t keep any horizontal properties set before changing the layer variable.
This only happens when the layer variables are changed on the parent layer

Start
Parent Layer → Variable density MD

  • Child Layer (set to fill)
  • Child Layer (set to hug)

Action
Change Parent layer variable to LG (changes height and padding)

Result:
Parent Layer → Variable density LG

  • Child Layer (set to FIXED)
  • Child Layer (set to hug)

Expected
Parent Layer → Variable density LG

  • Child Layer (set to Filled)
  • Child Layer (set to hug)

Hey @Edward_Battistini1, thanks for the detailed explanation!

Let me ask the team internally to take a look at this, I will get back to you as soon as I get a response from them.

Appreciate your patience in the meantime!