From f972908b009f625689089f0da6daa2f28eefd712 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 14 Apr 2016 21:55:15 -0500 Subject: [PATCH] fix(loading): present loading from root nav controller Closes #6121 --- ionic/components/nav/nav-controller.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ionic/components/nav/nav-controller.ts b/ionic/components/nav/nav-controller.ts index 3f956a00da..becdd99eb8 100644 --- a/ionic/components/nav/nav-controller.ts +++ b/ionic/components/nav/nav-controller.ts @@ -428,8 +428,8 @@ export class NavController extends Ion { opts = {}; } - if (enteringView.usePortal && this._portal) { - return this._portal.present(enteringView, opts); + if (enteringView.usePortal && rootNav._portal) { + return rootNav._portal.present(enteringView, opts); } enteringView.setNav(rootNav);