react-native-animatable
react-native-animatable copied to clipboard
onAnimationBegin and onAnimationEnd doesn't work. They are not fired
onAnimationBegin and onAnimationEnd doesn't work.
My animation is fired, and it works perfectly, but callback are not fired.
<Animatable.View
transition={["maxHeight", "paddingVertical"]}
duration={150}
delay={500}
easing="ease-out-cubic"
onAnimationEnd={() => { console.log('finish animation')}}
onAnimationBegin={() => { console.log('begin animation')}}
style={[
styles.postWrapper,
{
maxHeight: isRemoved ? 0 : 1000,
paddingVertical: isRemoved ? 0 : 16
}
]}
>
```
@renanbronchart Any updates on this one?