You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to update an already visible toast message/content rather than displaying a new one.
Say I have a list of items, and each item has an Add button. Once i click on the Add button for each item, currently every one will show a toast so if i add 10 items it will show 10 toasts of the same toast. I want to be able to update the first visible toast to say 'Multiple notifications require your attention' instead of it showing the same toast 10 times. Hope this makes sense. I do not want the preventDuplicate though as I need to change the content message instead.
Any ideas? thanks
The text was updated successfully, but these errors were encountered:
Hello
I want to be able to update an already visible toast message/content rather than displaying a new one.
Say I have a list of items, and each item has an Add button. Once i click on the Add button for each item, currently every one will show a toast so if i add 10 items it will show 10 toasts of the same toast. I want to be able to update the first visible toast to say 'Multiple notifications require your attention' instead of it showing the same toast 10 times. Hope this makes sense. I do not want the preventDuplicate though as I need to change the content message instead.
Any ideas? thanks
The text was updated successfully, but these errors were encountered: