canvas-confetti icon indicating copy to clipboard operation
canvas-confetti copied to clipboard

Issue with Huawei mobile browser

Open drexkooo opened this issue 3 years ago • 3 comments

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 :)

drexkooo avatar May 14 '21 16:05 drexkooo

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?

catdad avatar May 14 '21 16:05 catdad

Hello, I got this issue on a Xiaomi phone, and fixed it by setting useWorker:false to confettiCannon function.

busmaker avatar Jul 21 '21 00:07 busmaker

I also encountered this problem on Xiaomi's mobile phone, but I was unable to use the useWorker parameter

yixinagqingyuan avatar Feb 27 '23 03:02 yixinagqingyuan