vue-scrollto icon indicating copy to clipboard operation
vue-scrollto copied to clipboard

this.scrollTo('#id') scrolls more than expected for Windows 11 chrome & for some cases in mac Safari

Open yog3sha opened this issue 1 year ago • 0 comments

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?

yog3sha avatar Nov 03 '23 13:11 yog3sha