-
Notifications
You must be signed in to change notification settings - Fork 359
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
Closing hidden toast show more toasts than maxOpened allows #922
Labels
Comments
Hello, first-time contributor here. I looked in the code and found the problem. In the |
scttcper
pushed a commit
that referenced
this issue
Apr 5, 2022
🎉 This issue has been resolved in version 14.2.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My global settings are
I made a bit of code to store all the generated toasts with a given key, for example for a warning :
in order to be able to remove a toast without the need to manually click on it using the key, like so :
Mainly to allow a toast to be closed on a user action, like solving the reason the toast was added to the queue.
Right now, when I clear a toast that is not currently shown to the screen it (wrongly?) reduces the amount of currentlyActive toasts, causing the amount of toasts on screen to go above the maxOpened value.
The text was updated successfully, but these errors were encountered: