Canvas Null Issue
DwayneSamuels opened this issue · 4 comments
DwayneSamuels commented
Using this in React. All works well locally but when pushed to production the following error is thrown: TypeError: Cannot set property 'fillStyle' of null
How can I go about resolving this canvas related issue?
thedevelobear commented
Hey!
Whoah, that's new to me. As for confetti/emoji I'm not using canvas. It must be related to the Lottie package (it probably uses canvas internally), so at first I would check there.
Were you trying to implement the memphis animation?
DwayneSamuels commented
No, I implemented the confetti animation.
thedevelobear commented
Hey. Did you figure something out?
thedevelobear commented
I'm closing this issue as nobody else had it and I couldn't reproduce it.