Skip to content

Commit c13b104

Browse files
authored
fix: flipLeft and flipRight on Android (#8307)
1 parent 9d5bddb commit c13b104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎nativescript-core/ui/frame/fragment.transitions.android.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ export function _setAndroidFragmentTransitions(
145145
if (currentFragmentNeedsDifferentAnimation) {
146146
setupCurrentFragmentExplodeTransition(navigationTransition, currentEntry);
147147
}
148-
} else if (name === "flip") {
148+
} else if (name.indexOf("flip") === 0) {
149149
const direction = name.substr("flip".length) || "right"; //Extract the direction from the string
150150
const flipTransition = new FlipTransition(direction, navigationTransition.duration, navigationTransition.curve);
151151

0 commit comments

Comments
 (0)