-
Notifications
You must be signed in to change notification settings - Fork 89
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
Unable to update original position #144
Comments
Or ref to #89 (comment)
Or for "smoothly returns", need hack to
|
pan is not returning from onDragRelease there are just event, gestureState, bounds |
That's why I mean "hack", you can modify |
I think this may be related to this issue: #89 . I am also seeing if there is any feedback on StackOverflow.
By setting the shouldReverse prop to true, the draggable item smoothly returns to its original position.
However, I can't seem to dynamically update the "original position" of the draggable item by updating the position.x and position.y values, as in the following code:
Any thoughts on how I can properly change the original location of a draggable React Native component?
Thanks!
The text was updated successfully, but these errors were encountered: