Skip to content
Discussion options

You must be logged in to vote

In such a case, you can disable the default scroll animation by passing false as the last scrollTo function parameter. The default animation (when true is passed) cancels the previous one, so you see the only last one when the speed.value reaches the target value.

I think it should work with your code properly just with this one change.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@krisidmisso
Comment options

@MatiPl01
Comment options

Answer selected by krisidmisso
@krisidmisso
Comment options

@MatiPl01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants