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
Hello. How to implement a behavior where I have an add-to-cart notification and I only display a limit of 3 toasts. A toast is auto-closing every 4 seconds and if there's a new call to display a new toast but 3 active toasts are still on the screen, the first toast on the stack have to be closed immediately without completing the autoClose duration so that the new toast will be pushed to the stack.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. How to implement a behavior where I have an add-to-cart notification and I only display a limit of 3 toasts. A toast is auto-closing every 4 seconds and if there's a new call to display a new toast but 3 active toasts are still on the screen, the first toast on the stack have to be closed immediately without completing the autoClose duration so that the new toast will be pushed to the stack.
Beta Was this translation helpful? Give feedback.
All reactions