react-native-animatable icon indicating copy to clipboard operation
react-native-animatable copied to clipboard

onAnimationBegin and onAnimationEnd doesn't work. They are not fired

Open renanbronchart opened this issue 3 years ago • 1 comments

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 avatar May 04 '22 10:05 renanbronchart

@renanbronchart Any updates on this one?

coolersham avatar Jan 09 '24 15:01 coolersham