Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

195
Views
Infinitescrolling, how to restore state on browser back (items + scrollposition)

Considering this general use case for infinitescrolling:

  1. The infinitescroll has been scrolled and contains e.g. 100-1000 items
  2. One item from the list is selected and the browser routes to a detail page
  3. The user navigates back using the browser back button.
  4. The infinitescroll should show the previous items and be scrolled to the previous location in the list.

Since the use of infinitescrolling is quite common I was hoping to find an out of the box solution that covers this case but I haven't found a good solution. I did some experiments with localstorage but it get's a bit tricky with maximum storage when dealing with many complex items from multiple infinitescrolling routes.

What would be a recommended solution or any ideas how to restore the state of the infinitescroll upon browser back?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!