I have a web application written in backbone.js. Say I have a search results page and the user scrolls to the bottom of the search results. The user clicks on the last search result, and a page is displayed for this result.
I want to support the back button, and when the user clicks back, the router starts and re-displays the search page. The problem is that the search page is re-displayed, it scrolls up from the top.
What is the best way to restore results to their original position?
source share