react-native-draggable-flatlist
react-native-draggable-flatlist copied to clipboard
The delay between onRelease and onDragEnd makes the component feeling unresponsive
"react-native-draggable-flatlist": "^3.1.1"
Expo on Android
Everything is working almost perfect. But after dropping an item there's a significant delay (I guess due to animation) in which one is not able to drag nor longpress until animation ends.
My opinion is the list should respond as expected (allowing dragging and long pressing) immediatelly after dropping an item.
I don't know if this is possible. But there's at least any way to fully disable the animation before onDragEnd
? or some event receiving data
array prior to animation to finalize?
the list needs to know about any layout changes that occur as a result of the new positions, so we can't begin dragging while another animation is still running.
You can speed up those animations if you want by passing in a custom animationConfig
prop