This is a ios demo app to illustrate a problem/bug that occurs when the reanimated library is used in conjunction with the recyclelistview (RLV) component to implement drag re-orderable lists.
All seems to be working correctly up until a row is deleted, whereupon the remaining rows stop being draggable. The only way I've found to stop this is change the key attribute to RLV, whereupon the forced RLV re-render causes reanimated's Animated code to be mounted again.
fwiw: In order to get something that worked, I ended up switching out reanimated and had to refactor the Animated.View to always be present. The working version is over on the branch std_animation_library
Usual assumptions about working node, yarn, xcode, simulators etc being installed. Then
cd checkout_location
yarn install
react-native link react-native-gesture-handler
- shouldn't need it but it does.cd ios && pod install && cd ..
yarn ios
Using the app to play around with the problem should be straight forward, with more details embedded in it and the code base.
Android's not a platform that's targeted at the moment, it should probably work but it's untested.