Skip to content
Prev Previous commit
Next Next commit
Merge branch 'master' into zone-fixes
  • Loading branch information
NathanWalker authored Jun 3, 2020
commit 040d93db708a9d2edfcc2a74c05bbcebaf7ad17f
2 changes: 1 addition & 1 deletion nativescript-angular/directives/dialogs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export class ModalDialogService {
});
const detachedFactory = options.resolver.resolveComponentFactory(DetachedLoader);
this.zone.run(() => {
detachedLoaderRef = options.containerRef.createComponent(detachedFactory, -1, childInjector, null);
detachedLoaderRef = options.containerRef.createComponent(detachedFactory, 0, childInjector, null);
detachedLoaderRef.instance.loadComponent(options.type).then((compRef) => {
const detachedProxy = <ProxyViewContainer>compRef.location.nativeElement;

Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.