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

How to remove animation after dragging/panning? #15

Closed
shaneeza opened this issue Sep 15, 2019 · 1 comment
Closed

How to remove animation after dragging/panning? #15

shaneeza opened this issue Sep 15, 2019 · 1 comment

Comments

@shaneeza
Copy link

shaneeza commented Sep 15, 2019

After panning and my mouse is no longer clicked, the wrapper still continues to animate. I tried setting enableVelocity to false but that behavior still happens. Is there a way that i can remove the extra animations after panning?

Thanks!

@shaneeza
Copy link
Author

Actually i think i got it working with the following:

enableVelocity={false}
velocityTimeBasedOnMove={false}
velocityAnimationSpeed={0}
minVelocity={0}
minVelocityScale={0}
velocitySensitivity={0}

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

1 participant