material icon indicating copy to clipboard operation
material copied to clipboard

$mdToast is supported multiple 'toast' at same time?

Open redyyu opened this issue 11 years ago • 61 comments

Which mean is multiple toast showing up same time

etc., top left

[TOAST#1] [TOAST#2...] [TOAST#2........]

just like http://ui.lumapps.com/directives/dialogs

try click the button 'OPEN DIALOG' couple times, see the toast bottom right. it's follow a line

redyyu avatar May 10 '15 22:05 redyyu

Toasts are per design specs limited to one.

They should not be persistent or be stacked, as they are above other elements on screen." http://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-usage

Rouby avatar May 11 '15 08:05 Rouby

@Rouby I don't understand why this is a bad UI, many websites use many toasts as suggested by @redyyu

screen shot 2015-07-23 at 6 25 22 pm

piyushchauhan2011 avatar Jul 23 '15 08:07 piyushchauhan2011

If the Specs said that, we should follow it.

redyyu avatar Jul 23 '15 09:07 redyyu

Stacked dialogs, toasts, snackbars, bottomsheets, etc. will not be available until post v1.0 releases.

ThomasBurleson avatar Sep 04 '15 16:09 ThomasBurleson

Stacked Toasts are not supported/recommended by Google's UX team. As such this will not be feature within the angular/material repositories.

ThomasBurleson avatar Mar 01 '16 15:03 ThomasBurleson

i need this thing ! +1

aa2kb avatar Mar 18 '16 08:03 aa2kb

+1

Lorelei avatar Jun 01 '16 09:06 Lorelei

+1

isudakov avatar Jun 01 '16 09:06 isudakov

+1

RuslanaJS avatar Jun 11 '16 19:06 RuslanaJS

+1

pteyssedre avatar Jun 28 '16 16:06 pteyssedre

+1

steffanboodhoo avatar Jul 01 '16 16:07 steffanboodhoo

Interesting. Should subsequent toasts / messages be queued and then displayed one-by-one?

Narretz avatar Jul 07 '16 16:07 Narretz

Please see the documentation for Consecutive Snackbars located here: https://material.google.com/components/snackbars-toasts.html#snackbars-toasts-usage.

bradrich avatar Jul 07 '16 17:07 bradrich

+1

almgwary avatar Jul 23 '16 16:07 almgwary

+1

eniniz avatar Sep 02 '16 09:09 eniniz

+1

jhlee8804 avatar Sep 26 '16 14:09 jhlee8804

+1

kikocastro avatar Oct 09 '16 21:10 kikocastro

I don't know why it's not supported but many websites do this, even twitter and facebook. Sample of screenshot is added below.

A Tweet in popup and then clicking retweet open another popup. screen shot 2016-10-10 at 4 38 36 pm

piyushchauhan2011 avatar Oct 10 '16 05:10 piyushchauhan2011

They do this in Google Keep. Maybe web apps are an exception?

stacked_toasts

jchoca avatar Oct 17 '16 17:10 jchoca

This is a great feature to have. If I am calling multiple methods to do multiple things, I could display Success or Unsuccessful messages simultaneously in multiple Toasts. Right now I have to accumulate the two responses and then display a single Toast. While this works, it pretty annoying to wait for every method call to complete to show messages.

manish2535 avatar Nov 14 '16 20:11 manish2535