How do I make a draggable component in React Native? I want that when the option is dragged from it's initial position and when I leave it, it should go back to the same position.
You can use a library like, https://github.com/tongyy/react-native-draggable to achieve what you want
Or you can use pan responders. For detailed steps, you can take a look at this tutorial: https://moduscreate.com/blog/animated_drag_and_drop_with_react_native
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With