rive-app / rive-wasm

Wasm/JS runtime for Rive
MIT License
660 stars 46 forks source link

@rive-app/webgl - Uncaught TypeError: _a.delete is not a function #333

Closed Andy1210 closed 7 months ago

Andy1210 commented 10 months ago

Description

the clear() function is not working on the rive instance as it seems it doesn't have the delete function when using the @rive-app/react-webgl package.

Provide a Repro

https://codesandbox.io/s/rive-react-sandbox-m8yz2i just click on the Cleanup button and you will see the error straight away

Expected behavior

cleanup shouldn't throw error and work normally

zplata commented 9 months ago

Thanks for the repro and report; definitely looks off! We'll take a look here and update when this is fixed

zplata commented 7 months ago

Closing as this is resolved in 2.7.4. Feel free to re-open this if you still have issues. Thanks again for reporting!