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

On router change Notifications appear multiple times #34

Open
avinashdvv opened this issue Dec 20, 2017 · 7 comments
Open

On router change Notifications appear multiple times #34

avinashdvv opened this issue Dec 20, 2017 · 7 comments

Comments

@avinashdvv
Copy link

On success network request i am showing a notification and after i am redirecting to the new page. After that if user done any other network request previous notification is also appearing again

@nickbar86
Copy link

i have the same issue any news on that?

@avinashdvv
Copy link
Author

@nickbar86 use this https://github.com/fkhadra/react-toastify

@AshishGz
Copy link

AshishGz commented Jun 6, 2018

same problem can any one give me solution to solve this one

@normdoow
Copy link

I'm also seeing this issue.

@normdoow
Copy link

What I did that fixed this for me. It at least works is putting the <NotificationContainer /> up in a parent component that doesn't leave the screen. Then both of the notifications in different child components can use the same Notification container. This fixes multiple notifications happening.

@AshishGz
Copy link

AshishGz commented Jan 10, 2019 via email

@Usama-Tahir
Copy link

What I did that fixed this for me. It at least works is putting the <NotificationContainer /> up in a parent component that doesn't leave the screen. Then both of the notifications in different child components can use the same Notification container. This fixes multiple notifications happening.

thanks. this solved my issue. I was having the same problem

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

5 participants