Toast not disappearing
See original GitHub issuetoast.success("Your passwords do not match", {autoClose: 4000});
Using toast.dismiss(<toast_id)
. Even when I leave it default it won’t work.
No errors in console and I tried modifying the package I just can’t figure it out. Anyone else experienced this or have any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:18 (6 by maintainers)
Top Results From Across the Web
Persistent Toast Message: Toast won't disappear after execution
A Toast message can become stuck if you call it from a Service thread and that thread completes it's work before Toast is...
Read more >Toast message take very long time to disappear (Solved)
Toast messages on screen taking about 2 minutes to disappear in some MI phones.Its just because a setting you change accidentally.
Read more >Toast message doesn't disappear - OnePlus Community
My Profile Toast message doesn't disappear Title: Toast message doesn' Actual behavior: Disappear after a long time. Sometimes toast messages don't disappear. ...
Read more >Toast messages staying on screen 3-4 mins factory reset, got ...
Try turning Accessibility features off - particularly this one: Settings->Accessibility->Time to take action. If this is set to options other than Default, it ......
Read more >Toast Notifications not disappearing? : r/AndroidQuestions
I'm rocking a Pixel 3 and the last month I have had toast notifications that absolutely will not stop. Sometimes they clear after...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @haydencarlson,
I think I have an idea why your toast it’s not removed.
Your
Authorization Component
is getting mounted and umounted over and over again, so the<ToastContainer/>
will be unmounted as well. When the ToastContainer is umounted, all the related events are unbound.Move the ToastContainer at the root of your application to solve the issue.
same here, it doesn’t disappear even if put the
ToastContainer
in the root of application