Skip to content

Conversation

@Juice10
Copy link
Member

@Juice10 Juice10 commented Oct 17, 2022

In certain cases when scrollLeft is being set, but the value doesn't change. Then scrollTop is also ignored, even if that value was changed.

In this PR we use the scrollTo api as it doesn't suffer from that issue and also supports the option to use smooth scrolling or not.

In certain cases when scrollLeft is being set, but the value doesn't change. Then scrollTop is also ignored, even if that value was changed.
In this case we use the `scrollTo` api as it doesn't have that issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants