Closed TomBell95 closed 2 years ago
I have pinpointed the problem - it is due to having my nav pages and mobile nav pages spy on the same section...
Tried to use data-scroll-spy-id="desktop-nav"
and data-scroll-spy-id="mobile-nav"
but have not been able to get this to work yet. Any suggestions?
Hi @TomBell95, I'm facing the same issue, did you resolve it somehow?
Is anyone else experiencing problems? It looks like a few JSFiddle demo's are also experiencing issues.
I have a nuxt project which only has a single page and I want to highlight the pages as user scrolls down, but have not got this to work yet? Can someone confirm if this is me or is there a problem?
~/plugins/vue2-scrollspy.js
nuxt.config.js
{ src: '~/plugins/vue2-scrollspy', ssr: false },
components/Navbar/Pages.vue
components/Main.vue