Skip to content

Keep model when navigating back #384

@Redsandro

Description

@Redsandro

When navigating back, I observe that all previously appended results are gone, and I end up scrolled back to the top where the first set of results are shown.

Is it possible to keep all the models, and when going "back", I go back to the page including all appended and autoloaded records?

Current behavior

  • Visit infinity page, initially 50 items
  • Scroll down
  • Load a bunch of new pages; say 250
  • Click item 250 - this changes route
  • Go back to the previous page
  • Only first 50 items are shown

Trying to achieve the following:

  • Visit infinity page, initially 50 items
  • Scroll down
  • Load a bunch of new pages; say 250
  • Click item 250 - this changes route
  • Go back to the previous page
  • 250 items are shown, scrolled down

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions