mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
fix-next(android): restore fade animation for simulated nav (#6463)
This commit is contained in:
@ -364,7 +364,7 @@ export class Frame extends FrameBase {
|
|||||||
const newFragmentTag = `fragment${fragmentId}[${navDepth}]`;
|
const newFragmentTag = `fragment${fragmentId}[${navDepth}]`;
|
||||||
const newFragment = this.createFragment(newEntry, newFragmentTag);
|
const newFragment = this.createFragment(newEntry, newFragmentTag);
|
||||||
const transaction = manager.beginTransaction();
|
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)
|
// 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
|
// On API 21+ transition won't be triggered unless there was at least one
|
||||||
// layout pass so we will wait forever for transitionCompleted handler...
|
// layout pass so we will wait forever for transitionCompleted handler...
|
||||||
|
Reference in New Issue
Block a user