vue-smooth-scroll
vue-smooth-scroll copied to clipboard
Back to top after scroll animation
Hi,
I use vue-smooth-scroll for this website
On the first button Travaillons ensemble , on the first click, the page is going top after the animation, and It's only happening one time. I need to refresh to see it again and remove the id destination from the url (#services).
The code :
<a :href="destination" v-smooth-scroll="{duration: 1000, offset: -50}">
<button id="cta" class="btn btn-cons btn-bordered m-t-20" type="button">
{{ texteBouton }}
</button>
</a>
Thanks for your help!
Any update on fixing this bug?