Displaying multiple toast #3698
-
Hi team, I was wondering if it is possible to display multiple toasts with a click. (E.g. when the user clicks a button, two toasts will appear at the same time, stacked vertically) I've tried playing with it but it seems that only the latest Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hey @claudiachua It's not necessarily a use case we considered. Without getting into actual product specifics, what is the situation where you need to show multiple toasts from a single user action? We have some guidance specifically around errors, for example, to essentially roll up multiple errors into a single toast or use a callout if it's three or more, so that we're not over whelming the user. Firing multiple toasts at the same time might not be the best experience. Independent of that, we'll look into why isn't stacking multi toasts, that took me by surprise. We could expand |
Beta Was this translation helpful? Give feedback.
-
This maybe irrelevant as the design changed, but for future readers, this functionality is being added to the toast package in #3749 |
Beta Was this translation helpful? Give feedback.
This maybe irrelevant as the design changed, but for future readers, this functionality is being added to the toast package in #3749