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

Add pan inertia/momentum #10

Open
trydalch opened this issue Jan 16, 2024 · 1 comment
Open

Add pan inertia/momentum #10

trydalch opened this issue Jan 16, 2024 · 1 comment

Comments

@trydalch
Copy link

This component is great! Thank you for sharing it!

Many panning/scrolling user experiences allow for the control to continue moving after the user lifts their finger, slowing down over time. Would this be a quick thing to add?

@fakeheal
Copy link
Owner

This is a great suggestion!

Maybe replacing withTiming with withSpring could help achieve this effect. I will have to take a more detailed look at this.

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

No branches or pull requests

2 participants