Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 37 additions & 2 deletions versioned_docs/version-7.x/native-stack-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-default.mp4" />
</video>

- `fade`: fade screen in or out
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-fade.mp4" />
</video>

- `fade_from_bottom`: fade the new screen from bottom
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-fade-from-bottom.mp4" />
</video>

- `flip`: flip the screen, requires `presentation: "modal"` (iOS only)
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-flip.mp4" />
</video>

- `simple_push`: default animation, but without shadow and native header transition (iOS only, uses default animation on Android)
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-simple-push.mp4" />
</video>

- `slide_from_bottom`: slide in the new screen from bottom
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-bottom.mp4" />
</video>

- `slide_from_right`: slide in the new screen from right (Android only, uses default animation on iOS)
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-right.mp4" />
</video>

- `slide_from_left`: slide in the new screen from left (Android only, uses default animation on iOS)
- `none`: don't animate the screen
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-slide-from-left.mp4" />
</video>

Only supported on Android and iOS.
- `none`: don't animate the screen
<video playsInline autoPlay muted loop>
<source src="/assets/7.x/native-stack/native-stack-animation-none.mp4" />
</video>

#### `presentation`

Expand Down
Loading