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

scrollTo not scrolling, only scrollTop works but no animation #152

Open
aproni34f opened this issue Mar 5, 2023 · 2 comments
Open

scrollTo not scrolling, only scrollTop works but no animation #152

aproni34f opened this issue Mar 5, 2023 · 2 comments

Comments

@aproni34f
Copy link

When I try to use scrollTo its not not scrolling, only scrollTop works but then there is no animation.

I have created a demo here: https://jsfiddle.net/mpnf856d/

scrollTo works perfectly when perfect scrollbar is not used. Can this be addressed?

@vsitarevic
Copy link

I'm having the same issue but what I've discovered is if there is a horizontal scroll then everything works perfectly fine. Here I have edited your fiddle to demo this behavior: https://jsfiddle.net/2u0gsxnm/1/

Does anyone know why this is happening?

@aproni34f
Copy link
Author

Thanks, but I cant have horizontal scroll.

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

2 participants