diff --git a/static/assets/7.x/native-stack/native-stack-animation-default.mp4 b/static/assets/7.x/native-stack/native-stack-animation-default.mp4 new file mode 100644 index 0000000000..97297b0ef8 Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-default.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4 b/static/assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4 new file mode 100644 index 0000000000..cec56aa0a6 Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-fade.mp4 b/static/assets/7.x/native-stack/native-stack-animation-fade.mp4 new file mode 100644 index 0000000000..f87cb6159a Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-fade.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-flip.mp4 b/static/assets/7.x/native-stack/native-stack-animation-flip.mp4 new file mode 100644 index 0000000000..bd459c0cce Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-flip.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-none.mp4 b/static/assets/7.x/native-stack/native-stack-animation-none.mp4 new file mode 100644 index 0000000000..c4768eda32 Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-none.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-simple-push.mp4 b/static/assets/7.x/native-stack/native-stack-animation-simple-push.mp4 new file mode 100644 index 0000000000..89036741ec Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-simple-push.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4 b/static/assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4 new file mode 100644 index 0000000000..4ecdefef5e Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4 b/static/assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4 new file mode 100644 index 0000000000..2af3b9bf4e Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4 differ diff --git a/static/assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4 b/static/assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4 new file mode 100644 index 0000000000..6184037ed9 Binary files /dev/null and b/static/assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4 differ diff --git a/versioned_docs/version-7.x/native-stack-navigator.md b/versioned_docs/version-7.x/native-stack-navigator.md index 61125f06e1..3465fbf2da 100755 --- a/versioned_docs/version-7.x/native-stack-navigator.md +++ b/versioned_docs/version-7.x/native-stack-navigator.md @@ -600,19 +600,54 @@ Supported values: How the screen should animate when pushed or popped. +Only supported on Android and iOS. + Supported values: - `default`: use the platform default animation + + - `fade`: fade screen in or out + + - `fade_from_bottom`: fade the new screen from bottom + + - `flip`: flip the screen, requires `presentation: "modal"` (iOS only) + + - `simple_push`: default animation, but without shadow and native header transition (iOS only, uses default animation on Android) + + - `slide_from_bottom`: slide in the new screen from bottom + + - `slide_from_right`: slide in the new screen from right (Android only, uses default animation on iOS) + + - `slide_from_left`: slide in the new screen from left (Android only, uses default animation on iOS) -- `none`: don't animate the screen + -Only supported on Android and iOS. +- `none`: don't animate the screen + #### `presentation`