24ark / react-native-step-indicator

A simple react-native implementation of step indicator widget compatible with the ViewPager and ListView.
Apache License 2.0
1.43k stars 312 forks source link

Fix useAnimatedDriver warning on RN 0.62 #91

Closed osamaaamer95 closed 4 years ago

osamaaamer95 commented 4 years ago

Description

  1. Fix deprecated componentWillReceiveProps
  2. useAnimatedDriver is now required in RN 0.62 as mentioned here.

    Setting useNativeDriver is now required to support switching the default in the future.

Closes #92

kubilaytural commented 4 years ago

Hi, please merge @24ark . Thx

Relax594 commented 4 years ago

"Reset" Animation is broken after this one. All steps will be shown as currently selected (height and width does not reset, background and bordercolor does somehow) after being selected once.