Skip to main content
Question

Old variable mode name persists after change

  • February 24, 2025
  • 5 replies
  • 133 views

Matthew25

In a library file our team set up collections of variables and created two modes, one for Desktop and one for Mobile. We then decided that we wanted Mobile to be the default mode. As a workaround to make Mobile the default mode, we renamed the modes, swapping their names (so, Desktop → Mobile, and Mobile → Desktop). We then swapped all the variable values so they were under the correct mode.

The problem is that now any pages or frames that were set to a specific variable mode before we renamed and swapped the modes still show the old naming even though they now have the correct styles based on what is supposed to be the default mode (Mobile). So, if I chose Mobile for the variable mode for a page or frame before the swap, it now reads Desktop when the styles are correct for Mobile. Also, new pages or frames created do not have this issue, so I can have two frames right next to each other, one that says “Auto (Mobile)” and one that says “Auto (Desktop)” and they both look correct.This same issue applies to pages, frames, and any other elements that modes can be chosen for.

Is there a way to reset the references to variable modes or another way to solve this issue?

Mika_Kaki
  • New Member
  • March 17, 2025

We have the same problem. Any ideas how to correct it?


Matthew25
  • New Member
  • March 18, 2025

@figma_admin ​@Figma_Bot what is the next step in escalating this?


Alex Dmitriev

Second this!


Angelika_Zwolinska

Same problem. Figma displays the old name "Mode 1" and updating the file does not fix the problem. 


Adam Howard

I ran into a similar issue and found a possible work around…

Issue:

  • Published 4 modes from file A
  • Used modes from file A in file B
  • Updated names of all 4 modes in file A, republished
  • Updated modes in file B
  • Old names from file A persisted in file B 🙁

Fix:

  • Removed a mode from file A, republished
  • Updated modes in file B
  • New names propagated in file B 😀

I realize everyone cant delete a mode (I happened to have one I wasnt using) but maybe try adding a new mode to force changes to propagate in file B.

Hacky, but effective for now?

 

 

 


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