Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samples in the docs are broken in Firefox #352

Open
andraaspar opened this issue Mar 25, 2024 · 3 comments
Open

Samples in the docs are broken in Firefox #352

andraaspar opened this issue Mar 25, 2024 · 3 comments

Comments

@andraaspar
Copy link

Description

Visiting https://help.rive.app/runtimes/overview/web-js with Firefox 124.0.1 shows errors in the sample:

Uncaught TypeError: CanvasRenderingContext2D.clip: Argument 1 does not implement interface Path2D.
    c https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:42
    b https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:30
    requestAnimationFrame https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:30
    startRendering https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:2241
    draw https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:1726
    b https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:30
    b https://m7p872.csb.app/node_modules/@rive-app/canvas/rive.js:30
    ...

Provide a Repro

Visit https://help.rive.app/runtimes/overview/web-js with Firefox and look at the animation.

Expected behavior

For it to work, same as Chrome.

Screenshots

image

Browser & Versions (please complete the following information)

  • Browser: Firefox 124.0.1
  • OS: Windows 11
  • NPM Version: not my project
@mbforbes
Copy link

In case it's helpful to debug, it works for me on Firefox on Mac.

Screenshot 2024-06-18 at 11 30 01 AM

  • Browser: Firefox 127.0
  • OS: macOS Sonoma 14.5

@andraaspar
Copy link
Author

andraaspar commented Jul 1, 2024

Still broken for me.

Browser: Firefox 127.0.2 (64-bit)
OS: Windows 11

Edit: The new version of the article is now at https://rive.app/community/doc/web-js/docvlgbnS1mp and that is also broken.

@luckydye
Copy link

luckydye commented Nov 2, 2024

I see the same problem.
Its about this example btw: https://codesandbox.io/p/sandbox/rive-web-state-machine-example-forked-6x5hg2 (I updated rive to 2.23.3)
I have used rive on Firefox in the past without problem, so not sure what causes this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants