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

Implement smooth scrolling #14

Closed
inokawa opened this issue Mar 27, 2023 · 4 comments · Fixed by #222
Closed

Implement smooth scrolling #14

inokawa opened this issue Mar 27, 2023 · 4 comments · Fixed by #222
Assignees

Comments

@inokawa
Copy link
Owner

inokawa commented Mar 27, 2023

No description provided.

@inokawa
Copy link
Owner Author

inokawa commented Aug 27, 2023

Implementation based on native behavior option of scrollTo is probably enough for most cases.

Someone may need customized easing but it should be done outside of this lib with requestAnimationFrame. We have to give an usable example for it.

@aeharding
Copy link
Sponsor Contributor

I'd love to see this! Something I like about Virtuoso is its scrollToIndex function. I make good use of it in Voyager.

RPReplay_Final1697475856.mp4
RPReplay_Final1697475900.mp4

@inokawa
Copy link
Owner Author

inokawa commented Oct 24, 2023

I've released initial implementation of smooth scrolling in 0.15.0.
It may not work well in long scrolling (however as good as react-virtuoso I felt).

I'll try to improve it in the next few releases.
Any feedbacks are welcome!

@inokawa
Copy link
Owner Author

inokawa commented Oct 25, 2023

Much improved in 0.15.1. Close this issue.

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 a pull request may close this issue.

2 participants