Skip to content
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

uncompatibility with animate.css library #155

Open
Loque18 opened this issue May 5, 2022 · 6 comments
Open

uncompatibility with animate.css library #155

Loque18 opened this issue May 5, 2022 · 6 comments
Assignees

Comments

@Loque18
Copy link

Loque18 commented May 5, 2022

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

@teodosii
Copy link
Owner

teodosii commented May 6, 2022

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

@teodosii teodosii closed this as completed May 6, 2022
@djizco
Copy link

djizco commented Jul 20, 2022

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.

@Loque18
Copy link
Author

Loque18 commented Jul 21, 2022

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

@teodosii teodosii reopened this Aug 2, 2022
@teodosii
Copy link
Owner

teodosii commented Aug 2, 2022

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 teodosii self-assigned this Aug 2, 2022
@teodosii
Copy link
Owner

teodosii commented Aug 2, 2022

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?

@Yekna
Copy link

Yekna commented Aug 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants