react-native-sortable-list
react-native-sortable-list copied to clipboard
useNativeDriver
Can not set "useNativeDriver" property.

@DonavanMartin Hi, in the standard example, I removed all the Animation stuff. The list items scroll perfectly (except for the removed styling ofc). I still the same warning about useNativeDriver. Any ideas to avoid it would be appreciated.
The warning come from the library it self.
On the file: 'react-native-sortable-list/src/Row.js' at line 197 :
Animated.timing(this._animatedLocation, {
toValue: nextLocation,
duration: 300,
}).start(() => {
this._isAnimationRunning = false;
});
We should add useNativeDriver at false here. NativeDrivver set at true give me some crash on my test.
Animated.timing(this._animatedLocation, {
toValue: nextLocation,
duration: 300,
useNativeDriver: false,
}).start(() => {
this._isAnimationRunning = false;
});
Looks like this was fixed in #222.