MdSnackBar - Error: Attempt to use a destroyed view: detectChanges
Bug, feature request, or proposal:
After some second of injecting MdSnackBar in a component, I receive this error: Error: Attempt to use a destroyed view: detectChanges Removing all MdSnackBar reference, the component work fine.
Angular2: ^2.3.1 Angular Material2: ^2.0.0-beta.1
@pandazzurro Can you please provide some code or a plunker example? As it is, it's hard to know what you're reporting.
Hi @kara, I make plunker but it work: http://plnkr.co/edit/GrvuR3CBVHFpgEM4HNzb In my easy trial test, not work: https://github.com/pandazzurro/LogClientSideFull/blob/9f63aefa7c4301d33c7544b95444684626de3f49/LogClientSide/src/app/application-insight/application-insight.component.ts#L141 Removing this.snackBar the component work fine.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.