-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Bug, feature request, or proposal:
Bug
What is the expected behavior?
avoid memory leaks
What is the current behavior?
each time a material dialog is opened, another detached DOM tree is added
What are the steps to reproduce?
I'm experiencing this behaviour in angular-electron app, I suspect it has something to do with electron since this is not happening in any other apps. Added a gif showing snapshots before and after opening the dialog few times. (this is happening with any dialog across this app, not only the one in this example.)
What is the use-case or motivation for changing an existing behavior?
I hope this is not happening to others, it's causing huge memory leak and after few hours the app gets very slow.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
electron 2
angular 5.2.5
material 5.2.5
typescript 2.6.2
edit: also tested with -
electron 2.0.3
angular 6.0.5
material 6.3.2
typescript 2.7.2
same behaivouer
Is there anything else we should know?
I'm not 100% sure the problem is with material, but if it is its important that you know about this.
