Skip to main content
Question

Dropdown-card style and override - Doing anything wrong?

  • January 18, 2025
  • 2 replies
  • 24 views

betorales

I created a component with two variants: State: Collapsed and State: Extended. Basically, the first one is when it’s not clicked, and the second one is when it is clicked. I changed the text in the second variant, but in presentation mode, the text doesn’t seem to update. In the prototype, I picked “change to” to switch from collapsed to extended and vice versa. I’ve attached a video to show the issue. This is the first time I’ve run into this little hiccup, so I think I might have forgotten something or overlooked a detail.

Figma question

2 replies

Avokadomos
  • New Participant
  • 376 replies
  • January 18, 2025

While it may seem like it should work this way, Figma doesn’t “remember” the changes in the second variant if you start the presentation using the first. I don’t know if this is a bug. There are two ways to solve this.

Component properties

Add the text fields as properties in your component, and enter the text that you want. It should then remember what you have written.

Hidden layers

Make sure all the text layers are present in both variants, and just hide them in the first. This way the text technically exists in both variants, and will never reset to the variant default.


betorales
  • Author
  • New Member
  • 1 reply
  • January 18, 2025

@Avokadomos thanks for replying. I’ll test it and hope your friendly response works! I appreciate it! 


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