Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Lottie-react-native (v7.0.0) Auto-Firing Events (e.g., onAnimationFinish) on Initialization in RN 0.78.2 + New Arch #1344

@sindhusingh

Description

@sindhusingh

Description

We recently upgraded our project to React Native 0.78.2 and enabled the New Architecture. However, after this upgrade, lottie-react-native (current version: ^7.0.0) has started automatically triggering certain events (like onAnimationFinish) during component initialisation, causing unintended behaviour in our app. We're not using Expo.

Has anyone encountered this issue and found a solution? Additionally, if the community team has any estimated timeline for a fix, that would be greatly appreciated.

Thanks in advance!

Lottie React Native version

7.0.0

React Native version

0.78.2

Platforms

iOS, Android

Workflow

React Native

Architecture

Fabric (New Architecture)

Build type

Release app & dev bundle

Device

All(Android, IOS)

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions