How to implement FIFO stacking of toasts with limit of 3 #821
Unanswered
luigircruz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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