You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: versioned_docs/version-7.x/native-bottom-tab-navigator.md
+126-8Lines changed: 126 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -119,20 +119,138 @@ The [`tabBarIcon`](#tabbaricon) and [`tabBarLabel`](#tabbarlabel) options will o
119
119
120
120
The `tabBarSystemItem` option has special styling and behavior when set to `search` on iOS 26+.
121
121
122
-
Additionally, when the `search` tab is selected, the tab bar transforms into a search field if the screen in the tab navigator or a nested [native stack navigator](native-stack-navigator.md) has [`headerSearchBarOptions`](native-stack-navigator.md#headersearchbaroptions) configured and the native header is shown with [`headerShown: true`](native-stack-navigator.md#headershown). This won't work if a custom header is provided with the `header` option.
122
+
Additionally, when the `search` tab is selected, the tab bar transforms into a search field if:
123
+
124
+
- The screen has a nested [native stack navigator](native-stack-navigator.md)
125
+
- The focused screen in the nested native stack has [`headerSearchBarOptions`](native-stack-navigator.md#headersearchbaroptions)
126
+
127
+
This won't work if `headerSearchBarOptions` is set on the tab screen itself.
123
128
124
129
Example:
125
130
126
-
```js
127
-
tabBarSystemItem:'search',
128
-
headerShown:true,
129
-
headerSearchBarOptions: {
130
-
placeholder:'Search',
131
-
},
131
+
```js name="Search Tab on iOS 26" snack static2dynamic
0 commit comments