From 89d4cd3a5baeb6751ecdb4c350d9041e3a61f5e3 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Wed, 25 Nov 2015 11:58:07 -0600 Subject: [PATCH] fix(navController): check view loaded before element cache --- ionic/components/nav/nav-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ionic/components/nav/nav-controller.ts b/ionic/components/nav/nav-controller.ts index b98a9c8840..c13b8d14ec 100644 --- a/ionic/components/nav/nav-controller.ts +++ b/ionic/components/nav/nav-controller.ts @@ -944,7 +944,7 @@ export class NavController extends Ion { if (view.shouldDestroy) { destroys.push(view); - } else { + } else if (view.isLoaded()) { let shouldShow = (view === activeView) || (view === previousView); this._renderView(view, shouldShow); }