canvas-confetti
canvas-confetti copied to clipboard
Issue with Huawei mobile browser
Hi, we've noticed an issue with the confetti not rendering right on Huawei browsers. No confetti appears, and the content below it is masked as a result. All other mobile browsers (so far) seem to work fine. Wondering whether there's a(n easy) fix, or if we should just disable it for Huawei browsers for the time being. For info, it's a react app, the confetti is used in a JSX context. Thanks in advance, great package :)
I don't have a Huawei phone, unfortunately. Do you know if they have any sort of local testing functionality? If not, do you happen to see any errors in the console or anything?
Hello, I got this issue on a Xiaomi phone, and fixed it by setting useWorker:false
to confettiCannon
function.
I also encountered this problem on Xiaomi's mobile phone, but I was unable to use the useWorker parameter