Navigating to previous page with standard browser buttons

Hi,

I was wondering if you guys could help me out with this. I’m building an app where some pages contains groups that are shown/hidden based on the users choice on that specific page (like a one page).

Let’s say that a user made some choices and would like to browse back to the previous group.
I can easily achieve this by making a “back” button, but people tend to use the browser buttons to go back:

Screen Shot 2022-10-30 at 10.26.50 PM

The issue: If the users hits the back button in the browser now, my app will take them to the very front page of the application.

Is there a way to achieve the same behaviour from a browser button as from a “back” button that I explained above?

Use the URL for navigation.

2 Likes

Yup, what Adam said… this video should help.

1 Like

Thanks for helping me out again guys! Much appreciated :fire:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.