Thanks for the vid, I have another question: What should you do in figma if you want a component to always appear in its original state when you return to a screen, even after making changes to that component?
@thejunboy
Жыл бұрын
Thanks for the comment - could you elaborate the question? do you mean in prototype? you want people to interact with the component but if you leave the page and come back to the page the component has automatically reset back to its original state?
@thejunboy
Жыл бұрын
there is currently no reset component state or persist state management which is a bit annoying. the easiest workaround hack. 1. build a starting default frame that has the default component state that is static. (might have to detach instance to get this to work... ew...) 2. on click, you can smart animate to a second duplicate frame but with the interactive component instead. when you leave the page and want to come back, prototype the interaction to go back to the first default static frame. in essence you are creating a flow of frames that will always force the user to start from frame 1 "resetting the experience" not the best solution because you end up with multiple duplicate pages, but the simplest to rapidly draft up. hope that helps. its in the backlog within the forums for figma to include.
@camille79408
Жыл бұрын
@@thejunboy Thank you and...There is a new option that just launched today that will allow you to manage the states across frames. Select the connecter between your frames that have the interactive component and you can deselect "reset state".!
@IbrahimSowunmi
Жыл бұрын
I don't have the reset all changes
@thejunboy
Жыл бұрын
When you right click you should be able to see 'Reset all changes'. Note this action is only visible on any instance components (component with the hollow purple diamond icon in layers) that have overrides applied to them. Hope that helps.
Пікірлер: 8