-
-
Notifications
You must be signed in to change notification settings - Fork 366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emoji confetti broken on iOS Safari #209
Comments
Huh, that is so weird. I tested it when I was developing this feature on iOS 16 and it was working great. My iPad is on iOS 17 now and sure enough, exactly what you described happens. What's even weirder is that I don't see anything in the console either. I'll definitely be taking a look at this this week when I have some more time. |
I guess I must have checked some intermediary state on my iPad, because sure enough, Safari does not support creating a canvas pattern using
I am looking for a workaround for iOS |
workaround for bitmap (emoji) confetti on browsers that don't support ImageBitmap canvas patterns (safari)
A fix for this has been released in version 1.9.1. |
Thank you so much for creating and maintaining this package, the effects are beautiful and performant on all platforms tested 🎉
It seems that the new emoji confetti feature is broken on iOS Safari (tested on iOS 17 iPhone SE 2022). The emoji confetti effect will not render on iOS devices. Attempting to create the emoji confetti will also freeze any confetti already drawn on the canvas (the suspended particles only go away after a page refresh). I was able to reproduce this on my own app as well as the demo (https://www.kirilv.com/canvas-confetti/). Is there something about the ios emoji font that causes this behavior?
The text was updated successfully, but these errors were encountered: