Web Canvas - play() with animation name does not work on latest version
Hi,
I’m currently building proof concept for my company’s website using Rive but ran into the issue where using latest version of @rive-app/canvas does not trigger animation for our .riv file.
(both e.g. loaded via https://unpkg.com/, but I see same issue when loaded via import statement or in React-Canvas wrapper)
On very simple example above, it’s loading @rive-app/canvas@2.24.0 by default and everything loads fine, and animation works fine (on mouseover and mouseleave event).
However if you load latest via @rive-app/canvas (2.30.4 as of this writing), Artboard loads fine, however, the animation does not happen at all.
Here’s pen with latest enabled, only difference is different version of @rive-app/canvas
In console, I can see the it’s playing correct animation name with both JS versions, but nothing is happening.
Is there some new setting that we need to enable in .riv (.rev or export setting)? or is this some kind of known bug?
Thanks in advance!