Skip to content

Loading a file specifying an artboard doesn't work #368

@mochetts

Description

@mochetts

I'm trying to load the attached file by passing an artobard to the new Rive call just like this:

const rive = new Rive({
  artboard: "iPhone 16 - 2"
  autoplay: true,
  autoBind: true,
})

And I'm getting:
Image

If I remove the artboard param, it works just fine but it loads the wrong artboard.

Here's the rive file:
untitled.riv.zip

I'm using the @rive-app/canvas library.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions