-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
MdSnackBar should be closed automatically when it's host MdDialog is destroyed or should be closable in ngOnDestroy.
What is the current behavior?
MdSnackBar remains open even after it's host MdDialog is destroyed. The SnackBar will be unresponsive with the buttons unclickable.
What are the steps to reproduce?
- Open an MdSnackBar from an MdDialog.
- Close the MdDialog
Plunker with the behavior: http://plnkr.co/edit/xrf3OSZec4J1w2MncFbY?p=preview
What is the use-case or motivation for changing an existing behavior?
Better user and developer experience
Which versions of Angular, Material, OS, browsers are affected?
Angular 2, Material 2
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaround