mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(navController): check view loaded before element cache
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user