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

Use scrollAnimation when scrolling to index #860

Conversation

dannybit
Copy link
Contributor

@dannybit dannybit commented Oct 5, 2024

Setting scrollAnimation to false in a LineChart does not disable the initial animation for scrollToIndex. I am passing scrollAnimation to scrollRef.current.scrollTo so the scrollAnimation is applied for scrollToIndex.

Issue: #859

@Abhinandan-Kushwaha Abhinandan-Kushwaha merged commit 80eb761 into Abhinandan-Kushwaha:master Oct 11, 2024
@Abhinandan-Kushwaha
Copy link
Owner

Thanks for the PR @dannybit
Your changes are available from versions 1.4.44 onwards. 🎉

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

Successfully merging this pull request may close these issues.

2 participants