LAUNCHED: State management for prototypes

Come on, figma. I spent some hours trying to figure out this issue and found out that this issue has been here for two years?

+1 for fix

3 Likes

I have the exact same question. Any help is appreciated. Thanks!

Thank you all for your feedback!

Our team has confirmed that interactive components memorize their state “forcibly”, and there is currently no way to reset it.

Fortunately, this is already something they’re working on. While we can’t guarantee a timeline on our end, the team will continue to monitor this thread and use your Votes to ensure it’s prioritized.

Stay tuned and keep an eye on our Release Notes where we’ll post all major updates: https://releases.figma.com/

2 Likes

Thank you for replying, after all these years.

I think it’s important to understand that the lack of this feature (or the lack of thought behind how things “work” now) makes Figma inadequate for many prototyping situations, therefore the need to move to a different app for making it work.

3 Likes

+1 all of the workarounds suggested seem like a pain in the butt… It could be so simple :frowning:

+1 I’ve been unable to have a truly interactive dropdown that lets me switch between frames. + The fact that interactive components states are lost when nested inside another interactive component.

+1 The ability to control when a component state persists and resets is a very useful preset that would aid in my prototype creation flows and eliminate tedious work arounds.

1 Like

+1 Need to be able to reset components on action.

+1 I could really use that, too
This time I have an interactive component that is supposed to display a countdown (3…2…1…Go!), so it must restart from the beginning every time, it is time-sensitive and only relies on “after delay”. Only works once, then just shows “Go” all the time :expressionless:

+1 Having the same issue. This thread started in 2021 and no response from Figma team.

Hey @Marlon4,

We responded most recently on April 4th:

Thank you all for your feedback!
Our team has confirmed that interactive components memorize their state “forcibly”, and there is currently no way to reset it. Fortunately, this is already something they’re working on. While we can’t guarantee a timeline on our end, the team will continue to monitor this thread and use your Votes to ensure it stays prioritized. Stay tuned and keep an eye on our Release Notes where we’ll post all major updates: https://releases.figma.com/

+1 still need this - such a pain to create a workaround for every “reset”

Hey All,

Thank you for your patience! Today, we released State management for prototypes, including State reset!

When users are navigating through prototypes, an object’s state may need to be reset on specific interactions. Object states should be reset on the interaction that navigates to the next frame.

  1. Click on a prototype connection to open the Interaction details panel.
  2. In the State Management section of the panel, check off any of the following settings:
  3. Reset scroll position: Reset to original scroll location
  4. Reset component state: Reset to original component state, as set on the canvas
  5. Reset video state: Restart the video from the beginning, and reset to its original play state
8 Likes

@dvaliao I don’t have these options in my interaction design Pannel, how we can activate this? My version is 116.9.5, any clue about how to get this cool feature?

Lovely! Thanks so much for delivering on it :tada:

1 Like

Hi @Claudio_Torres,

The feature was slowly rolling out in batches, but should have been available by the end of the day. Have you refreshed and been able to get access yet?

This feature basically renders the “While hovering” interaction useless for any components. It is resetting all of the nested components below the parent.

I have a tab button component with 3 states: Default, On Hover, Selected

  • Interactions Default “while hovering” to On Hover

I have a tabs component comprised of 3 tabs

When I make interactive tabs , the content of the component below is also resetting to its original state as well. Super frustrating that this was missed.

1 Like

Hello @dvaliao. I had to press Help >Troubleshooting > Clear Cache and Restart. After this action, these options appeared in my Figma. Thanks for the support.

1 Like

Hi, since the launch of the new State management for prototypes, the scroll position is not preserved, each time I create a link between two frames (representing two states of the same page) my prototype will scroll to the top. I really miss the “preserve scroll position” that worked fine!

Anyone having the same issue?

1 Like

I just found why it wasn’t working: all the frames need to have exactly the same name so that Figma matches the different “objects” (= pages). Not very convenient, but it’s working again.