Skip to content

Commit 2ce7689

Browse files
committed
docs: document hideNavigationBar in headerSearchBarOptions
Add documentation for the hideNavigationBar prop in the headerSearchBarOptions section. This prop maps to UIKit's UISearchController.hidesNavigationBarDuringPresentation and allows keeping the header title and buttons visible while the search bar is active. Updated in both v7 and v8 docs.
1 parent 3d0202b commit 2ce7689

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

versioned_docs/version-7.x/elements.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ It can contain the following properties:
352352
- `autoCapitalize`: The auto-capitalization behavior. Possible values: `none`, `words`, `sentences`, `characters`.
353353
- `autoFocus`: Automatically focus search input on mount.
354354
- `cancelButtonText`: Text to be used instead of default `Cancel` button text (iOS only).
355+
- `hideNavigationBar`: Boolean indicating whether to hide the navigation bar during searching. When unset, defers to native iOS behavior (navigation bar is hidden during search). Set to `false` to keep the header title and buttons visible while the search bar is active. (iOS only)
355356
- `inputType`: Type of the input. Possible values: `text`, `phone`, `number`, `email`.
356357
- `onBlur`: Callback that gets called when search input has lost focus.
357358
- `onChangeText`: Callback that gets called when the text changes.

versioned_docs/version-8.x/elements.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ It can contain the following properties:
352352
- `autoCapitalize`: The auto-capitalization behavior. Possible values: `none`, `words`, `sentences`, `characters`.
353353
- `autoFocus`: Automatically focus search input on mount.
354354
- `cancelButtonText`: Text to be used instead of default `Cancel` button text (iOS only).
355+
- `hideNavigationBar`: Boolean indicating whether to hide the navigation bar during searching. When unset, defers to native iOS behavior (navigation bar is hidden during search). Set to `false` to keep the header title and buttons visible while the search bar is active. (iOS only)
355356
- `inputType`: Type of the input. Possible values: `text`, `phone`, `number`, `email`.
356357
- `onBlur`: Callback that gets called when search input has lost focus.
357358
- `onChange`: Callback that gets called when the text changes.

0 commit comments

Comments
 (0)