ibufu / vue2-scrollspy

Scrollspy for Vue2
https://ibufu.github.io/vue2-scrollspy/
MIT License
135 stars 32 forks source link

$scrollTo does not update scroll data property #7

Open exnihilo-creatio opened 6 years ago

exnihilo-creatio commented 6 years ago

Following your Note example. Upon clicking a node that has a click event with $scrollTo(1) it does not update the scrollPos variable.

I think the same issue can be seen in your example. Clicking the third link does not change the selected one correctly.