Back to 'previous' buttons

gavinjharris shared this question 5 years ago

I would like to set my back button to navigate back to the previous 'panel' not page.

I have two pages 'home' and 'product page'. Within the product page I use multiple states so my back button has to backtrack to the previous panel not page. Is this possible? So far I can only see page.


Comments (1)


Each time yo change the active panel, you can populate a variable with the name of the previous panel. Then when you need to go to the previous panel instead of create a navigation interaction, check the variable value an create a "Set Active Panel" interaction to the appropiate panel.