Skip to content

Commit 95c4ec5

Browse files
authored
Revert "fix-next(android): restore fade animation for simulated nav (NativeScript#6463)" (NativeScript#6473)
This reverts commit 448936d.
1 parent 7625d6c commit 95c4ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tns-core-modules/ui/frame/frame.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export class Frame extends FrameBase {
364364
const newFragmentTag = `fragment${fragmentId}[${navDepth}]`;
365365
const newFragment = this.createFragment(newEntry, newFragmentTag);
366366
const transaction = manager.beginTransaction();
367-
const animated = this._getIsAnimatedNavigation(newEntry.entry);
367+
const animated = currentEntry ? this._getIsAnimatedNavigation(newEntry.entry) : false;
368368
// NOTE: Don't use transition for the initial navigation (same as on iOS)
369369
// On API 21+ transition won't be triggered unless there was at least one
370370
// layout pass so we will wait forever for transitionCompleted handler...

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy