-
Notifications
You must be signed in to change notification settings - Fork 165
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
Animate scroll to index #64
Comments
nvm i already modified the library to do so |
Maybe submit a PR? |
@Kadajett of course, if you need so I will make a PR, i just overide the default scrollTo method. I will add a new prop to enable smooth scroll. |
Any updates on this? |
Any updates? |
Use the following
|
Thanks @ramneekhanda ! Nice trick! |
Or just VirtualList.prototype.scrollTo = function (value) {
this.rootNode.scrollTo({ top: value, behavior: 'smooth' });
}; for vertical scroll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi i want to make the scroll smoother when I do scroll to index. How can i achive this
The text was updated successfully, but these errors were encountered: