From 448936d6e6bf03c79e17648e8912a4f0eea0b43f Mon Sep 17 00:00:00 2001 From: Manol Donev Date: Fri, 26 Oct 2018 17:09:19 +0300 Subject: [PATCH] fix-next(android): restore fade animation for simulated nav (#6463) --- tns-core-modules/ui/frame/frame.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tns-core-modules/ui/frame/frame.android.ts b/tns-core-modules/ui/frame/frame.android.ts index bfb911d2c..d1b7f1f4a 100644 --- a/tns-core-modules/ui/frame/frame.android.ts +++ b/tns-core-modules/ui/frame/frame.android.ts @@ -364,7 +364,7 @@ export class Frame extends FrameBase { const newFragmentTag = `fragment${fragmentId}[${navDepth}]`; const newFragment = this.createFragment(newEntry, newFragmentTag); const transaction = manager.beginTransaction(); - const animated = currentEntry ? this._getIsAnimatedNavigation(newEntry.entry) : false; + const animated = this._getIsAnimatedNavigation(newEntry.entry); // NOTE: Don't use transition for the initial navigation (same as on iOS) // On API 21+ transition won't be triggered unless there was at least one // layout pass so we will wait forever for transitionCompleted handler...