Animated is very awesome.but there are some bugs in Animated.
the spring callback won`t be called at once the animation finished.
the callback has something like 200ms delay.
Animated.spring(
this.state.height,
{
toValue: this._height,
friction: 8,
tension: 80
}
).start(callback);
When using Animated.timing and set easing as Easing.back orEasing.elastic.
The element wont animate any more. It just jump to the last frame. Easing.inandEasing.inOut(Easing.ease)` works fine
Animated.timing(
this.state.height,
{
toValue: 0,
easing: Easing.back, // or Easing.elastic
duration: 200
}
).start(callback);
Animated is very awesome.but there are some bugs in Animated.
the spring callback won`t be called at once the animation finished.
the callback has something like 200ms delay.
When using Animated.timing and set easing as
Easing.backorEasing.elastic.The element won
t animate any more. It just jump to the last frame.Easing.inandEasing.inOut(Easing.ease)` works fine