We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
preventSwipe with initial render works fine, but after updating the state with a new prevent direction does not work. How to achieve it?
The text was updated successfully, but these errors were encountered:
I think that this is because the pan handler doesn't get recreated because no dependencies here:
react-tinder-card/index.js
Line 199 in 47f660c
So it refers to an old handleSwipeReleased here:
handleSwipeReleased
Line 196 in 47f660c
Sorry, something went wrong.
I am aware of this issue and it is on the TODO list I will fix it as soon as I have time.
No branches or pull requests
preventSwipe with initial render works fine, but after updating the state with a new prevent direction does not work. How to achieve it?
The text was updated successfully, but these errors were encountered: