Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

182
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda