From c13b1044416c5ab2a5377e7758da120a3ef1f98b Mon Sep 17 00:00:00 2001 From: Nick Iliev Date: Wed, 5 Feb 2020 13:38:25 +0200 Subject: [PATCH] fix: flipLeft and flipRight on Android (#8307) --- nativescript-core/ui/frame/fragment.transitions.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nativescript-core/ui/frame/fragment.transitions.android.ts b/nativescript-core/ui/frame/fragment.transitions.android.ts index 6b024cd47..879c4d4a1 100644 --- a/nativescript-core/ui/frame/fragment.transitions.android.ts +++ b/nativescript-core/ui/frame/fragment.transitions.android.ts @@ -145,7 +145,7 @@ export function _setAndroidFragmentTransitions( if (currentFragmentNeedsDifferentAnimation) { setupCurrentFragmentExplodeTransition(navigationTransition, currentEntry); } - } else if (name === "flip") { + } else if (name.indexOf("flip") === 0) { const direction = name.substr("flip".length) || "right"; //Extract the direction from the string const flipTransition = new FlipTransition(direction, navigationTransition.duration, navigationTransition.curve);