-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MdSnackBar from Component auto-close, won't open #7063
Comments
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Sep 14, 2017
* Fixes subsequent snack bars not showing up if they are opened while another snack bar is open. This was due to the latter snack bar getting closed immediately, because one of the animation events coming in is `void->void`. * Simplifies the logic for determining the animation state. Using the getter ended up passing returning an invalid state in some cases (e.g. `undefined-top` or `undefined-bottom`). Fixes angular#7063.
andrewseguin
pushed a commit
that referenced
this issue
Sep 29, 2017
…7086) * Fixes subsequent snack bars not showing up if they are opened while another snack bar is open. This was due to the latter snack bar getting closed immediately, because one of the animation events coming in is `void->void`. * Simplifies the logic for determining the animation state. Using the getter ended up passing returning an invalid state in some cases (e.g. `undefined-top` or `undefined-bottom`). Fixes #7063.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug, feature request, or proposal:
Bug
What is the expected behavior?
Opening snackbar from component without set duration and already opened from same component snackbar will appear.
What is the current behavior?
Snackbar auto close by it self, if there is no duration option
What are the steps to reproduce?
You will see, snackbar will close and never showed again. If you have animations module, you can see how new snackbar starts to appear, and then closes.
If you set up duration in config, everything will be fine.
https://plnkr.co/edit/zuumORaByIHLHBKKHLse?p=preview
The text was updated successfully, but these errors were encountered: