Skip to content

Android animation enters wrong state on mount #203

@Nezz

Description

@Nezz

Description

When starting an animation on Android, it ends up in the wrong state initially and then fixes itself. This results in the animation "blinking" on mount. This issue does not reproduce on iOS.

This regressed when updating from 0.2.3 to 0.4.0.

Note that during the very first frame the layout is also broken and the animation is so large that it ends up getting clipped:
Image

Provide a Repro

https://github.com/Nezz/expo-repro/tree/repro/RiveAndroid

Source .riv/.rev file

Included in the repo

Expected behavior

The border animation should not play right away (which is already the case on iOS). Only when the button is tapped.

Screenshots

Screen_Recording_20260407_131613_expo-repro.mp4

Device & Versions (please complete the following information)

  • Device: Samsung Galaxy Fold 3, API 36 emulator
  • OS: Android 15
  • React Native Version: 0.83.4
  • Expo Version (if applicable): 55

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions