Skip to content

Rive React seems to unload items when the page is idle long enough #379

Description

@csartor

My .riv loads perfectly fine, but when the page containing said rive file is left idle for some time I get the following error, and some of the items within my rive file seem to get either hidden or unloaded.

TypeError: Cannot perform Construct on a detached ArrayBuffer
    at new Float32Array (<anonymous>)

I'm using "@rive-app/react-canvas": "^4.21.3",

Before:

Image

After:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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