canvas loading problem
Hi everyone, I’m encountering an issue when embedding a Rive animation using @rive-app/canvas inside a Vue.js project.
When the page loads, the canvas stays black for a short while before the actual animation appears. This delay in rendering creates a poor user experience, especially on initial load.
A few details:
I’m using several assets, but I’ve worked with even larger Rive files in other projects without seeing this problem.
Could the delay be due to how Vue handles mounting or how Rive initializes within the Vue lifecycle?
Are there any known methods to reduce this delay — such as lowering canvas rendering resolution, deferring heavy assets, or triggering early rendering?
If anyone has experience optimizing Rive canvas performance specifically in a Vue context, I’d really appreciate your insights. Thanks in advance!