vue-scrollto
vue-scrollto copied to clipboard
this.scrollTo('#id') scrolls more than expected for Windows 11 chrome & for some cases in mac Safari
I'm using vue-scrollto in my vue 2 project. I've used this.$scrollTo("#id")
On windows 10, scrolling works fine but I'm getting error on Chrome console as below:
this.$scrollTo is not a function
On Windows 11 (in Chrome) and some Mac devices (in Safari), the scrolling is happening for a few extra pixels and the targetted Element goes out of the viewport, about 50vh up.
Could this be browser's behavior or the OS compatibility issue for this package?