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

show newest toast instantly even with limit reached #1129

Open
miltonjrd opened this issue Jun 29, 2024 · 1 comment
Open

show newest toast instantly even with limit reached #1129

miltonjrd opened this issue Jun 29, 2024 · 1 comment

Comments

@miltonjrd
Copy link

Do you want to request a feature or report a bug?
feature

What is the current behavior?
With a set limit, when that limit is reached, newer toasts are added to a queue and displayed as soon as a new slot is free. Thats fine, but I want to suggest a new behavior to be along with this.

What is the expected behavior?
Instead of adding the new toast to a queue, close the oldest toast and instantly add the new one to the container. To control this behavior, perhaps there could be a boolean property "showNewestInstantly", with false as default value to keep the current behavior as the default.

Thanks

@ryanClaimocity
Copy link

Or, to piggy back off of this feature, a Container setting that clears all previous toasts when a new toast is told to appear

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

2 participants