-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Prevent snackbars from stacking up by adding a max count #53201
Comments
Also, each notice type should have a unique id as done here so that only one of that notice type appears at a time. |
Yea, perhaps the copy to clipboard snackbar doesn't have one? |
I like how this library, Sonner, handles stacking and multiple snackbars/toasts. |
Very cool! What do we need to do to try this interaction in the editor? For reference: CleanShot.2023-08-01.at.11.34.27.mp4 |
I think it would require an update to the @mirka, how doable is this with current snackbar components? |
Yes please 🙏 |
Architecturally it seems feasible to me, since |
Snackbars should have a max count, where you can't end up with a stack of them hanging around. #53200 will reduce the number, but there should be a max. Even as small as three notice max may work just fine.
The text was updated successfully, but these errors were encountered: