Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-initialize after DOM change? #47

Open
simonhermann opened this issue Feb 6, 2018 · 0 comments
Open

re-initialize after DOM change? #47

simonhermann opened this issue Feb 6, 2018 · 0 comments

Comments

@simonhermann
Copy link

I'm using smoothScroll on a single-page app (with nuxt.js). On loading the site at first or after refresh everything works as expected. After a page change (effectively the DOM is manipulated), it does not work anymore.
I assume I'll have to re-initialize the library in some way, so it fetches the latest DOM contents?
Is there a method to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant