locomotivemtl / locomotive-scroll

🛤 Detection of elements in viewport & smooth scrolling with parallax.
https://locomotivemtl.github.io/locomotive-scroll
MIT License
7.83k stars 1.12k forks source link

LS doesn't work when backing in Vue router #214

Open Iraklikandelaki opened 3 years ago

Iraklikandelaki commented 3 years ago

I can't scroll to the end of the page when I enter a router-link and go back in the browser.

Again, update() doesn't help it either.

It seems like the library is almost non-compatible with Vue JS at all.

Dushyant1295 commented 3 years ago

@Iraklikandelaki may be helpfull

https://github.com/DidoMarchet/starter-kit-nuxt-locomotive-scroll

Iraklikandelaki commented 3 years ago

@Iraklikandelaki may be helpfull

https://github.com/DidoMarchet/starter-kit-nuxt-locomotive-scroll

It doesn't help. Thanks for the suggestion though.