jsnanigans / vue-parallax-js

Tiny vue component that adds a directive for parallax effect on elements.
121 stars 19 forks source link

solving the bug that occurs when navigating between routes - spa #23

Closed oanamihet closed 5 years ago

oanamihet commented 5 years ago

When navigating between routes, in a nuxt spa, the elements with parallax on them have unexpected positioning. But on refresh everything is back to normal. We solved this issue. Please check our code. Thank You!

jsnanigans commented 5 years ago

This is awesome, thank you. I wanted to add this at some point but never got to it

jsnanigans commented 5 years ago

This has been published in 0.2.0

oanamihet commented 5 years ago

Thank you :)

oanamihet commented 5 years ago

Hello, now i have this error "This dependency was not found" and I can see that the "lib" folder is not present anymore in the repo. Maybe this is the cause for the error. Thank you.

jsnanigans commented 5 years ago

Oh wow how embarrassing, I thought I could remove the lib folder from git and they would still get published to npm, not sure why that doesn't work but I just added it again. fixed in 0.2.3

thank you for reporting it

oanamihet commented 5 years ago

Thank you too :)