Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yog3sha opened this issue Nov 3, 2023 · 0 comments

Comments

@yog3sha
Copy link

yog3sha commented Nov 3, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant