mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
fix: flipLeft and flipRight on Android (#8307)
This commit is contained in:
@@ -145,7 +145,7 @@ export function _setAndroidFragmentTransitions(
|
|||||||
if (currentFragmentNeedsDifferentAnimation) {
|
if (currentFragmentNeedsDifferentAnimation) {
|
||||||
setupCurrentFragmentExplodeTransition(navigationTransition, currentEntry);
|
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 direction = name.substr("flip".length) || "right"; //Extract the direction from the string
|
||||||
const flipTransition = new FlipTransition(direction, navigationTransition.duration, navigationTransition.curve);
|
const flipTransition = new FlipTransition(direction, navigationTransition.duration, navigationTransition.curve);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user