Skip to content

Conversation

@veitbjarsch
Copy link
Contributor

@veitbjarsch veitbjarsch commented Apr 15, 2020

This PR fixes the bug that the default value will be used if the options offset value was set to zero.

Example:

import VueScrollTo from 'vue-scrollto'; Vue.use(VueScrollTo, { offset: -30 }); 
this.$scrollTo('#idToScroll', { offset: 0 }); 
@rigor789 rigor789 merged commit 09ee3c4 into rigor789:master Apr 15, 2020
@rigor789
Copy link
Owner

Thanks!

@rigor789
Copy link
Owner

🎉 This PR is included in version 2.18.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants