Back button to page containing List reverts to original sort/filter state
See original GitHub issueIf you navigate back to a page containing a List using the back button, the list is presented in its original order and filter state, not the state when the user left it (i.e. by selecting an item in the sorted/filtered list).
This is a well-known problem and not List.js’s fault, but in order to work around this we need access to the current filter and sort state, so we can encode them into the location hash.
I found the buttons
var in the sort module but it does not seem to be exposed/accessible from the List
object in the browser.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Add sorting, filtering, and paging - ASP.NET MVC with EF Core
In this tutorial you'll add sorting, filtering, and paging functionality to the Students Index page. You'll also create a page that does ...
Read more >Using the BACK button to revert to the previous state of the page
Is there a way to make the BACK button go back to the previous "state" of the page i.e., undo the visibility/display changes?...
Read more >[react-instantsearch-hooks] Back button doesn't return to the ...
It should return to just Insignia™ filtered, but instead returns to no filters at all. One thing we noticed: if you check history.state...
Read more >4 Design Patterns That Violate “Back” Button UX Expectations
A user's “Back” button expectations weren't honored at Walmart. The user's path was “product list > product page > reviews subpage”, ...
Read more >History back() Method - W3Schools
The history. back() method loads the previous URL (page) in the history list. The history. back() method only works if a previous page...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
👍 👋
Thanks, I did the same thing, also rather specific 😉