Comments (2)
This bug reproducing on dialog-outlet placed inside app-root
MdlDialogInnerOutletComponent constructor -> setDefaultViewContainerRef -> setViewContainerRef -> created MdlBackdropOverlayComponent
And
MdlDialogOutletService constructor -> ngZone.onStable.pipe subscribe -> setViewContainerRef -> created MdlBackdropOverlayComponent
So this 2 flows creates 2 MdlBackdropOverlayComponent
from angular2-mdl.
Temporary workaround
const initial = (MdlDialogOutletService.prototype as any).setViewContainerRef;
(MdlDialogOutletService.prototype as any).setViewContainerRef = function(...args) {
if (!this.backdropComponent) {
initial.apply(this, args);
}
};
from angular2-mdl.
Related Issues (20)
- Angular 5 npm package version. HOT 2
- Extended color schemes HOT 1
- Cannot style input in mdl-textfield HOT 1
- Version 10 of node.js has been released
- [Feature Request] Support for angular v6
- MdlDialog problem after close dialog by clicking outside HOT 1
- Angular 8 compatibility HOT 6
- An in-range update of @angular/cli is breaking the build 🚨 HOT 1
- An in-range update of @angular-devkit/build-angular is breaking the build 🚨 HOT 1
- An in-range update of @angular-devkit/build-ng-packagr is breaking the build 🚨 HOT 1
- An in-range update of @angular-devkit/build-ng-packagr is breaking the build 🚨 HOT 1
- An in-range update of @types/node is breaking the build 🚨 HOT 28
- An in-range update of @angular-devkit/build-angular is breaking the build 🚨 HOT 15
- [Bug] MdlSelectComponent. Error after view destroy HOT 1
- An in-range update of @types/node is breaking the build 🚨 HOT 10
- An in-range update of ng-packagr is breaking the build 🚨 HOT 5
- An in-range update of @angular-devkit/build-angular is breaking the build 🚨 HOT 5
- Ripple effect in Angular 10
- Angular 10: Invalid peerDependencies HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angular2-mdl.