Open Sceat opened 5 years ago
2.6.8
2.3.1
Should add the active class properly Actual behavior: Work properly after a vue dev server hot-reload but stop adding the active class after a browser page reload Demo link: DEMO
Should add the active class properly
Work properly after a vue dev server hot-reload but stop adding the active class after a browser page reload
ul.tabs(v-scroll-spy-active v-scroll-spy-link="{selector: 'li'}") li.tab(v-for="c in myarray" :key="c") {{c}}
.food(v-scroll-spy) custom-component(v-for="c in myarray" :key="c")
.food(v-scroll-spy) .useless-div(v-for="c in myarray" :key="c") custom-component
Vue version:
2.6.8
vue2-scrollspy version:
2.3.1
Expected behavior:
Workaround