-
Notifications
You must be signed in to change notification settings - Fork 407
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
fix confetti bug #446
fix confetti bug #446
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would much rather have this be fixed in confetti-react. Could you make a PR over there?
Also, thanks! |
You're welcome! I'll give it a try. |
Well, the last update was on May 20, 2022. I'll fork and fix it. I'll post the new version here. There's also another bug related to viewport width: when the confetti animation is launched, if you scroll, the confetti will disappear, which I think is solved using the same solution. |
Closing this until a new package is ready. Thanks! |
This fixes a bug with the Confetti component: if you resize the window, the Confetti component keeps occupying the original width and height, creating vertical and horizontal scrolling.
Video showing the issue: https://youtu.be/G2d8-KYU7j0
Changes: