Skip to content

Fit.Layout stops working on Android #417

@Nezz

Description

@Nezz

Description

I encountered an issue where Fit.Layout stops working after reset() is called and the animation starts behaving like Fit.Cover:

Screen_Recording_20260225_120153_expo-repro.mp4

This issue affects Android, but not iOS.

Provide a Repro

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

Source .riv/.rev file

It's in the repro project

Expected behavior

The animation should keep getting displayed without clipping

Screenshots

See video in description.

Device & Versions (please complete the following information)

  • Device: Galaxy Fold 5
  • OS: Android 15
  • NPM Version: 10.9.4

Additional context

<-- Add any other context about the problem here. -->

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