From c09ea0da449205da5fd07e3d5765f17c4183cb41 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 17 Sep 2015 23:02:14 -0500 Subject: [PATCH] prevent native animate flicker --- ionic/animations/animation.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ionic/animations/animation.ts b/ionic/animations/animation.ts index a3f90d465d..e25f010609 100644 --- a/ionic/animations/animation.ts +++ b/ionic/animations/animation.ts @@ -387,6 +387,7 @@ export class Animation { this._chld[i].progressStart(); } + this.duration(1000); this.play(); this.pause(); } @@ -405,7 +406,7 @@ export class Animation { } } - progressFinish(shouldComplete, rate=1) { + progressFinish(shouldComplete, rate=3) { let promises = []; this.isProgress = false;