Skip to content

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

@renanbronchart

Description

@renanbronchart

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
          }
        ]}
      >
    ```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions