react-native-circular-progress icon indicating copy to clipboard operation
react-native-circular-progress copied to clipboard

fix warning of useNativeDriver

Open shixiaoquan opened this issue 3 years ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js b/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
index d57de9b..2db5fac 100644
--- a/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
+++ b/node_modules/react-native-circular-progress/src/AnimatedCircularProgress.js
@@ -40,6 +40,7 @@ export default class AnimatedCircularProgress extends React.PureComponent {
       toValue,
       easing,
       duration,
+      useNativeDriver: false,
     });
     anim.start(this.props.onAnimationComplete);
 

This issue body was partially generated by patch-package.

shixiaoquan avatar Apr 05 '22 02:04 shixiaoquan