Skip to content

Android animation only plays once at startup and then never again #178

@Nezz

Description

@Nezz

Description

We have an animation that's supposed to hide when another element in the list is selected. However, on Android the hiding only happens when the previous animation becomes visible.

Provide a Repro

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

Source .riv/.rev file

Found in the repro. The rive file has a horizontal mirroring applied to it (scale X -100%) which seems to create this problem.

Expected behavior

The animation should keep playing around the selected button, but not buttons that aren't selected.

Screenshots

NotPlaying.mp4

Note how the first two buttons "glitch", then when I scroll the animation plays as elements render for the first time.

Device & Versions (please complete the following information)

  • Device: Samsung Galaxy Fold 3, API 36 emulator
  • OS: Android 15
  • React Native Version: 0.83.2
  • 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