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
{{ message }}
Repository navigation
Calling showSnackBar() twice in a row will fail #374
If I'm reading the code right, if you call showSnackBar() while an existing snack bar is up, we'll just replace the previous one with the new one, rather than doing a transition or something. Then later we'll set the placeholder to null even while one of the snack bars is still up.
There is only ever one snackbar displayed. When a second snackbar is triggered while the first is displayed, the first should start the contraction motion downwards before the second one animates upwards.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
HansMuller commentedon Nov 14, 2015
#376 adds an assert() for this case
I think the right thing to do would be to dismiss the old snackbar and show the new one. Exactly what "dismiss" means in this context is TBD.
HansMuller commentedon Nov 18, 2015
http://www.google.com/design/spec/components/snackbars-toasts.html#snackbars-toasts-usage
github-actions commentedon Aug 17, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.