Skip to content

Losed scroll position on routes change #4

@GFdevelop

Description

@GFdevelop

When route change
ex: from /search to /videopage
the back button do not scroll to last position, the right behaviour is visible with
ex: from /videopage to /videopage

Step to reproduce:

  1. search for videos
  2. scroll down
  3. open one video (you go on /videopage)
  4. go back to previous page

Possible reason: dynamic elements are loaded after the page is visible, on static page this bug don't exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions