My app is a jobs site. The jobs are displayed on a repeating group on the homepage with pagination. These jobs are filtered with several input fields. When a user clicks on a job, it opens in the same tab. I would like it so that when the user clicks Back in the browser (or even clicks back through a button I add) that they will land at the same position that they left in the Repeating Group and with all the input fields still containing the same values. Is this possible? The majority of users would not be logged in.
When page is loaded scroll to position: x, go to page: x.
To get the page of repeating group, use a state.
+1 to the state every time the next page is clicked (but not last page)
-1 for when previous page is clicked. (but not first page)
Ah right. Cool, I’ve added that plugin So do I need to use Javascript to reference the scroll point? If so, how do I get the scrollPosition of the user in the Javascript?