Skip to content

Commit 9a62c1d

Browse files
committed
Move keyboardHandlingEnabled to under options
1 parent c799fe5 commit 9a62c1d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ Boolean used to indicate whether inactive screens should be detached from the vi
117117

118118
If you need to disable this optimization for specific screens (e.g. you want to screen to stay in view even when unfocused) [`detachPreviousScreen`](#detachpreviousscreen) option.
119119

120-
#### `keyboardHandlingEnabled`
121-
122-
If `false`, the keyboard will NOT automatically dismiss when navigating to a new screen from this screen. Defaults to `true`.
123-
124120
### Options
125121

126122
The following [options](screen-options.md) can be used to configure the screens in the navigator. These can be specified under `screenOptions` prop of `Stack.navigator` or `options` prop of `Stack.Screen`.
@@ -224,6 +220,10 @@ Interpolated styles for various parts of the card. Refer the [Animations section
224220

225221
Interpolated styles for various parts of the header. Refer the [Animations section](#animations) for details.
226222

223+
#### `keyboardHandlingEnabled`
224+
225+
If `false`, the keyboard will NOT automatically dismiss when navigating to a new screen from this screen. Defaults to `true`.
226+
227227
#### `detachPreviousScreen`
228228

229229
Boolean used to indicate whether to detach the previous screen from the view hierarchy to save memory. Set it to `false` if you need the previous screen to be seen through the active screen. Only applicable if `detachInactiveScreens` isn't set to `false`.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ Boolean used to indicate whether inactive screens should be detached from the vi
205205

206206
If you need to disable this optimization for specific screens (e.g. you want to screen to stay in view even when unfocused) [`detachPreviousScreen`](#detachpreviousscreen) option.
207207

208-
#### `keyboardHandlingEnabled`
209-
210-
If `false`, the keyboard will NOT automatically dismiss when navigating to a new screen from this screen. Defaults to `true`.
211-
212208
### Options
213209

214210
The following [options](screen-options.md) can be used to configure the screens in the navigator. These can be specified under `screenOptions` prop of `Stack.navigator` or `options` prop of `Stack.Screen`.
@@ -312,6 +308,10 @@ Interpolated styles for various parts of the card. Refer the [Animations section
312308

313309
Interpolated styles for various parts of the header. Refer the [Animations section](#animations) for details.
314310

311+
#### `keyboardHandlingEnabled`
312+
313+
If `false`, the keyboard will NOT automatically dismiss when navigating to a new screen from this screen. Defaults to `true`.
314+
315315
#### `detachPreviousScreen`
316316

317317
Boolean used to indicate whether to detach the previous screen from the view hierarchy to save memory. Set it to `false` if you need the previous screen to be seen through the active screen. Only applicable if `detachInactiveScreens` isn't set to `false`.

0 commit comments

Comments
 (0)