Skip to main content
Question

Update dropdown component without resetting its instances' text override

  • September 11, 2023
  • 0 replies
  • 522 views

Roxie

Hi wonderful people, I have a design system dropdown component whose close state initially does not come with a hidden menu because I sadly didn’t know better, like this answer suggested.

Consequently, its menu text keeps reverting back to the default copy “Menu Item” in the prototyping version, rather than my override text (the left window is Figma’s prototype preview).

CleanShot 2023-09-11 at 09.29.52

So I decided to paste a hidden menu into the close state. However, I did some publishing tests and discovered if I add a hidden menu, it will reset the copy of all the existing instances on project files because I assume the open state will now inherit the default “Menu Item” from the close state, rather than keeping product designers’ overrides.

CleanShot 2023-09-11 at 09.47.14

I can deprecate the old dropdown component and introduce a new one, but I’d like to avoid it if possible given how prevalent dropdowns are in our files.

Any idea how to fix that? 😭

This topic has been closed for replies.

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