We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16d614e commit 032df3cCopy full SHA for 032df3c
src/dialog/dialog.service.ts
@@ -106,7 +106,7 @@ export class DialogService {
106
if (dialogConfig.appendInline) {
107
// add our component to the view
108
this.dialogRef = viewContainer.createComponent(this.componentFactory, 0, this.injector);
109
- } else if (this.placeholderService.hasPlaceholderRef()) {
+ } else if (!this.placeholderService.hasPlaceholderRef()) {
110
111
setTimeout(() => {
112
window.document.querySelector("body").appendChild(this.dialogRef.location.nativeElement);
0 commit comments