Skip to content

Commit 1aaef1a

Browse files
committed
Fix description for headerMode
1 parent 549835a commit 1aaef1a

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

versioned_docs/version-4.x/stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ Visual options:
6969
- Prevents last inactive screen from being detached so that it stays visible underneath the active screen
7070
- Make the screens slide in from the bottom on iOS which is a common iOS pattern.
7171
- `headerMode` - Specifies how the header should be rendered:
72-
- `float` - Render a single header that stays at the top and animates as screens are changed. This is a common pattern on iOS.
73-
- `screen` - Each screen has a header attached to it and the header fades in and out together with the screen. This is a common pattern on Android.
72+
- `float` - The header is rendered above the screen and animates independently of the screen. This is default on iOS for non-modals.
73+
- `screen` - The header is rendered as part of the screen and animates together with the screen. This is default on other platforms.
7474
- `none` - No header will be rendered.
7575
- `keyboardHandlingEnabled` - If `false`, the on screen keyboard will NOT automatically dismiss when navigating to a new screen. Defaults to `true`.
7676

versioned_docs/version-5.x/stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ Defines the style for rendering and transitions:
7070

7171
Specifies how the header should be rendered:
7272

73-
- `float` - Render a single header that stays at the top and animates as screens are changed. This is a common pattern on iOS.
74-
- `screen` - Each screen has a header attached to it and the header fades in and out together with the screen. This is a common pattern on Android.
73+
- `float` - The header is rendered above the screen and animates independently of the screen. This is default on iOS for non-modals.
74+
- `screen` - The header is rendered as part of the screen and animates together with the screen. This is default on other platforms.
7575
- `none` - No header will be shown. It's recommended to use [`headerShown`](#headershown) option instead for more granularity.
7676

7777
#### `detachInactiveScreens`

versioned_docs/version-6.x/stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,8 @@ return (
335335

336336
Specifies how the header should be rendered:
337337

338-
- `float` - Render a single header that stays at the top and animates as screens are changed. This is default on iOS.
339-
- `screen` - Each screen has a header attached to it and the header fades in and out together with the screen. This is default on other platforms.
338+
- `float` - The header is rendered above the screen and animates independently of the screen. This is default on iOS for non-modals.
339+
- `screen` - The header is rendered as part of the screen and animates together with the screen. This is default on other platforms.
340340

341341
#### `headerShown`
342342

versioned_docs/version-7.x/stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,8 @@ return (
412412

413413
Specifies how the header should be rendered:
414414

415-
- `float` - Render a single header that stays at the top and animates as screens are changed. This is default on iOS.
416-
- `screen` - Each screen has a header attached to it and the header fades in and out together with the screen. This is default on other platforms.
415+
- `float` - The header is rendered above the screen and animates independently of the screen. This is default on iOS for non-modals.
416+
- `screen` - The header is rendered as part of the screen and animates together with the screen. This is default on other platforms.
417417

418418
#### `headerShown`
419419

0 commit comments

Comments
 (0)