From a5898163b67b373cd29b68b9526f478470cf062d Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Wed, 25 Jul 2018 12:11:51 +0200 Subject: [PATCH] fix(angular): make pages invisible before they are rendered --- angular/src/directives/navigation/router-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/angular/src/directives/navigation/router-controller.ts b/angular/src/directives/navigation/router-controller.ts index 4279c4a68a..b57d83172a 100644 --- a/angular/src/directives/navigation/router-controller.ts +++ b/angular/src/directives/navigation/router-controller.ts @@ -100,7 +100,7 @@ export class StackController { const leavingEl = leavingView ? leavingView.element : undefined; const containerEl = this.containerEl; if (enteringEl && enteringEl !== leavingEl) { - enteringEl.classList.add('ion-page', 'hide-page'); + enteringEl.classList.add('ion-page', 'ion-page-invisible'); containerEl.appendChild(enteringEl); await containerEl.componentOnReady();