Skip to content

Commit 136ce31

Browse files
committed
Document backBehavior: fullHistory
1 parent a1f1137 commit 136ce31

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

versioned_docs/version-7.x/bottom-tab-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ It supports the following values:
152152
- `initialRoute` - return to initial screen passed in `initialRouteName` prop, if not passed, defaults to the first screen
153153
- `order` - return to screen defined before the focused screen
154154
- `history` - return to last visited screen in the navigator; if the same screen is visited multiple times, the older entries are dropped from the history
155+
- `fullHistory` - return to last visited screen in the navigator; doesn't drop duplicate entries unlike `history` - this behavior is useful to match how web pages work
155156
- `none` - do not handle back button
156157

157158
#### `detachInactiveScreens`

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ It supports the following values:
203203
- `initialRoute` - return to initial screen passed in `initialRouteName` prop, if not passed, defaults to the first screen
204204
- `order` - return to screen defined before the focused screen
205205
- `history` - return to last visited screen in the navigator; if the same screen is visited multiple times, the older entries are dropped from the history
206+
- `fullHistory` - return to last visited screen in the navigator; doesn't drop duplicate entries unlike `history` - this behavior is useful to match how web pages work
206207
- `none` - do not handle back button
207208

208209
#### `defaultStatus`

0 commit comments

Comments
 (0)