GFdevelop / alphatube

A system of recommendations for YouTube
http://site1826.tw.cs.unibo.it/
MIT License
2 stars 1 forks source link

Losed scroll position on routes change #4

Open GFdevelop opened 5 years ago

GFdevelop commented 5 years ago

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.