vue2-scrollspy
vue2-scrollspy copied to clipboard
Scrollspy for Vue2
Test code: ``` Menu 1 Menu 2 Menu 3 Header 1 Content 1 xxxx Header 2 Content 2 yyyy Header 3 Content 3 export default {} .main { display: flex;...
Following your [Note example](https://github.com/ibufu/vue2-scrollspy#note). 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...
It should be noted in the README.md that the menu html element should come before the `v-scroll-spy` otherwise you'll get error messages. This breaks when updating from a version before...
This is a problem with fixed headers and varying sizes due to responsive design.
You can see scrollspy in action with a multiple level menu in the component docs I just released : http://vue-tree.pragmasphere.com/#/docs. You can have a look to [docs source here](https://github.com/pragmasphere/vue-tree/blob/develop/app/components/Docs.vue), it...