nuclearpasta / react-native-drax

A drag-and-drop system for React Native
MIT License
554 stars 68 forks source link

Explicitly set useNativeDriver for animated views #57

Closed lafiosca closed 4 years ago

lafiosca commented 4 years ago

In RN 0.63, we have this new warning when dragging views:

Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`

Update the library to fix this.

lafiosca commented 4 years ago

Looks like the library was already setting useNativeDriver: true everywhere. :) I think it is possible for a user to pass in an animation override that does not have it set. Perhaps that should be mentioned in the documentation eventually, not sure.