std-toast icon indicating copy to clipboard operation
std-toast copied to clipboard

Multiple Behavior

Open jackbsteinberg opened this issue 6 years ago • 0 comments

Many toast libraries surveyed supported displaying more than one toast at a time. Some libraries stack toasts, some queued them up and displayed them one after another. How should the configuration of showing multiple toasts be supported in the standard toast?

Currently the explainer has the multiple option for multiple handling strategy, and newestOnTop option for where the new toasts should stack on the .show() function.

  • Should those be a global setting? Per container?
  • How do we deal with different toasts having different values?
  • Do we need a newestOnTop or can that option be captured in the multiple field?

jackbsteinberg avatar May 29 '19 15:05 jackbsteinberg