react-notifications-component icon indicating copy to clipboard operation
react-notifications-component copied to clipboard

uncompatibility with animate.css library

Open Loque18 opened this issue 3 years ago • 6 comments

if you import the animate.css into the project, the first time you dispatch a notification if dissapears for a second, then it appears again, (at least trying to play the fade in animation)

stepts to reproduce:

create new react / nextjs app npm install [email protected] npm install animate.css

import react-notifications-component import animate.css

dispatch a notification with fade in entrance animation

Loque18 avatar May 05 '22 19:05 Loque18

Let's stick to one issue open for now :)

teodosii avatar May 06 '22 16:05 teodosii

I started having this or a similar issue when I migrated to React 18. First time dispatching a notification, it appears for a millisecond, then disappears, and then does the animation.

djizco avatar Jul 20 '22 21:07 djizco

I started having this or a similar issue when I migrated to React 18. First time dispatching a notification, it appears for a millisecond, then disappears, and then does the animation.

Yes I still having this issue, the only solution I found for now is to stop using animate.css

Loque18 avatar Jul 21 '22 02:07 Loque18

For some reason I thought the reporter reported the same issue twice, when the other one was fixed in a different thread but it seems it's not the same. I'll investigate, will let it open for now.

teodosii avatar Aug 02 '22 11:08 teodosii

I started having this or a similar issue when I migrated to React 18. First time dispatching a notification, it appears for a millisecond, then disappears, and then does the animation.

Interesting, this doesn't seem to happen on github-pages - Are you able to replicate there?

teodosii avatar Aug 02 '22 11:08 teodosii

I was also able to replicate it in a React 18 project.

Yekna avatar Aug 22 '22 12:08 Yekna