Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
renanbronchart opened this issue May 4, 2022 · 1 comment

Comments

@renanbronchart
Copy link

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
          }
        ]}
      >
    ```
@coolersham
Copy link

@renanbronchart Any updates on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants