react-confetti-explosion icon indicating copy to clipboard operation
react-confetti-explosion copied to clipboard

Doesn't seem to work with NextJS?

Open cheestudio opened this issue 1 year ago • 13 comments

Chances are this repo is abandoned, but in the vain hope that you're still around...

I've loved using this little package, it's been perfect for my needs. I've been building an app on React18 and it was working great. I recently updated to the latest NextJS version, and it no longer seems to function. The issue seems to be that the CSS never gets enqueued. The HTML elements are injected and appear in the DOM, but there's no accompanying styles.

Any ideas?

cheestudio avatar Sep 10 '23 23:09 cheestudio

I'm having the same issue

enotario avatar Sep 20 '23 23:09 enotario

Same here, only seems to be affecting me after upgrading next from 13.4.12 to 13.5.2.

I see this warning in the console.

Warning: [JSS] SheetsManager: can't find sheet to manage at ConfettiExplosion

sponrad avatar Sep 21 '23 23:09 sponrad

If anyone needs a quick solve, I switched to:

https://www.npmjs.com/package/react-dom-confetti

Works more or less the same, was nearly a drop-in replacement.

cheestudio avatar Sep 21 '23 23:09 cheestudio

same here Next.js & tailwindcss

AhmedBaset avatar Oct 05 '23 21:10 AhmedBaset

Same here!

michaelfortunato avatar Oct 06 '23 02:10 michaelfortunato

Same here

charanjit-singh avatar Oct 26 '23 08:10 charanjit-singh

Exactly the same reason and console.log error!

Same here, only seems to be affecting me after upgrading next from 13.4.12 to 13.5.2.

I see this warning in the console.

Warning: [JSS] SheetsManager: can't find sheet to manage at ConfettiExplosion

ozanyusufoglu avatar Oct 29 '23 14:10 ozanyusufoglu

Hey folks, Will anyone take on the task of solving it or creating an alternative?

AhmedBaset avatar Oct 29 '23 15:10 AhmedBaset

@A7med3bdulBaset

See above! I switched to:

https://www.npmjs.com/package/react-dom-confetti

Works more or less the same, was nearly a drop-in replacement.

cheestudio avatar Oct 29 '23 15:10 cheestudio

@A7med3bdulBaset

See above! I switched to:

https://www.npmjs.com/package/react-dom-confetti

Works more or less the same, was nearly a drop-in replacement.

I tried it but it makes scroll issue

AhmedBaset avatar Oct 29 '23 16:10 AhmedBaset

Same here

maaaathis avatar Nov 05 '23 00:11 maaaathis

same here

igorwfaoro avatar Nov 20 '23 15:11 igorwfaoro

yep same issue

Nathan-Devery avatar Feb 17 '24 00:02 Nathan-Devery