Skip to content

Commit f972908

Browse files
committed
fix(loading): present loading from root nav controller
Closes #6121
1 parent 98c2aab commit f972908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ionic/components/nav/nav-controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -428,8 +428,8 @@ export class NavController extends Ion {
428428
opts = {};
429429
}
430430

431-
if (enteringView.usePortal && this._portal) {
432-
return this._portal.present(enteringView, opts);
431+
if (enteringView.usePortal && rootNav._portal) {
432+
return rootNav._portal.present(enteringView, opts);
433433
}
434434

435435
enteringView.setNav(rootNav);

0 commit comments

Comments
 (0)