alicelieutier/smoothScroll

re-initialize after DOM change?

Opened this issue · 0 comments

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?