adorableio / react-native-animated-ellipsis

A simple, customizable animated dots component for use in React Native apps. Ideal for loading screens.
MIT License
80 stars 45 forks source link

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

Open sikloDev opened 3 years ago

sikloDev commented 3 years ago

Still having this on

"react": "17.0.1",
"react-native": "0.64.2",
thornec commented 3 years ago

hi, also having this issue

vhmr commented 2 years ago

yes, me too. please what is the solution?

ayushmng commented 2 years ago

Same here...Is this issue resolved?

hyeseon-han commented 2 years ago

you can add this line in AnimatedEllipsis.js

Animated.timing(this._animation_state.dot_opacities[which_dot], {
      toValue: this._animation_state.target_opacity,
      duration: this.props.animationDelay,
      useNativeDriver: true, // add this
    }).start(this.animate_dots.bind(this, next_dot));
Thanhal-P-A commented 1 year ago

https://www.npmjs.com/package/rn-animated-ellipsis