From 3c1e2a35d9f4ae6d99b5e5209dbe84d30aae4771 Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Wed, 10 Jul 2019 13:57:01 +0300 Subject: [PATCH] refactor(android): no transition duration to 1ms (#7486) --- tns-core-modules/ui/frame/fragment.transitions.android.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tns-core-modules/ui/frame/fragment.transitions.android.ts b/tns-core-modules/ui/frame/fragment.transitions.android.ts index c3a9460f7..85e905b80 100644 --- a/tns-core-modules/ui/frame/fragment.transitions.android.ts +++ b/tns-core-modules/ui/frame/fragment.transitions.android.ts @@ -787,7 +787,8 @@ function javaObjectArray(...params: java.lang.Object[]) { function createDummyZeroDurationAnimator(): android.animation.Animator { const animator = android.animation.ValueAnimator.ofObject(intEvaluator(), javaObjectArray(java.lang.Integer.valueOf(0), java.lang.Integer.valueOf(1))); - animator.setDuration(0); + // TODO: investigate why this is necessary for 3 levels of nested frames + animator.setDuration(1); return animator; }