Skip to main content

Just struck a pretty simple use case/scenario where I need the component to reset it’s state when I leave the frame. This has been touched on elsewhere, but this is such a common and key use that I thought I’d put it in it’s own thread.


Scenario:

I’ve got a dropdown menu with three items in it, with each item changing what columns are visible in a table and some other control states. I have three frames, each with a view of the table setup as it should be, and want to use the dropdown items to navigate between the frames - basically faking the table state change. All of this works perfectly, however when I navigate back to a previous table view state, the dropdown component is already in it’s open state - not what I want.


Current workaround: none that I can come up with (other than not using interactive components at all for this, and just using multiple frames for the dropdown open/closed states as I would previously)


Suggestions:



  1. Have a “reset component on leaving this frame” setting for instances of a component on a frame - useful for this situation and others, but needs to be a setting so that components that should keep their state between frames can do so (light/dark toggle maybe? Something like that).

  2. Do it all in a single frame, with the dropdown component changing the the state of the table component - no frame navigation required. Would work nicely for the particular use case I’m working with here, but not sure it would solve all similar situations.

  3. Do both 1 and 2. This solution is my preferred solution 😉 😆


EDIT:

Other threads that relate:


I’m going to guess that Adobe’s recent acquisition is going to slow down (e.g. Halt) these essential requests. I’m also going to guess that Adobe will be slower to respond in general once they’re at the helm, but hopefully I’m wrong.


+1 Would love a fix for this situation. Perhaps a Prototype option on each page to “Reset properties when navigating” in the side panel under where you set them? I am building a tabbed sidebar with a map behind it.


After trying multiple proposed workarounds, nothing worked for what I’m trying to accomplish. My sidebar was an interactive component but I ended up having to transform them into regular frames so I can use overlays to create the desired experience 😢


Screen Shot 2022-12-01 at 4.01.26 PM


+1 to this. I’ve tried multiple workarounds and nothing resolves this issue. I finally was forced to detach my interactive components and re-work them into frames and overlays.


A huge + for this feature, as well! It really bugs me that even when I set the component state within a frame I link to, it resets anyway – like, I specifically set it to display as “x” on this frame, but it reverts to the default state when presenting.


My team just ran into this one as well, +1 for this needing a solution


+1 for default state after navigating


+1 for this feature!!!


+1 for preserving state, but in my case even within an existing frame. Imagine creating a tic-tac-toe board where each cell can be an X, or blank. Once the user clicks on a blank cell and converts it to an X, I also want to navigate to another frame which, after a brief interaction, returns to the frame with the tic-tac-toe board; On returning to the board, I want what just became an X to remain an X and not be a blank again.


Run into it now. I have a fairly simple setup with a nav menu in the home that can be opened to navigate to deeper routes. Every time I open it and navigate to another page the component will remain open after navigating back to the page.


I found myself in the same situation, unable to reset a component on interaction.


Similar issue here. Second time an event happens, it hides/rearranges components in a menu system for no apparent reason, and doesn’t reset


resetting component


+1 For this! 🙏


+1 for me.


same here 😪


I am prototyping a drop down menu with a double-sided slider function component. I kind of hit a dead-end due to this issue, I my slide component just couldn’t maintain a default or current state when I want it to. I definitely want this feature be added with future updates.


+1

Hope fix this bug asap 🥲


Same issue here. I just want the component to return to the initial variant when I come back to it’s frame.


+1 It’s a shame the simple checkbox “Reset target frame” is not here yet after more than 1.5 years since this long topic has been started.


+1(million)


Our concern with Adobe’s takeover was how plans were going to be handled.

But now we know that the only thing that will have changed is that they will process user requests as they always have. Which mean they won’t.


This needs to be addressed. Should be as simple as how Flinto does it - a tickbox for “Leaving causes reset”


a totally missing feature for components and prototype in Figma.

upvote it 🙏


I still have the same problem as described in this thread…………


+1 from me too


Reply