Skip to content

Commit 22e7f8a

Browse files
authored
keyboardHidesTabBar defaults to true
Discovered this today while debugging what seemed like a `KeyboardAvoidingView` issue. Source: https://github.com/react-navigation/tabs/blame/master/src/views/BottomTabBar.tsx#L66
1 parent 424c451 commit 22e7f8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/bottom-tab-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ An object containing the props for the tab bar component. It can contain the fol
109109
- `allowFontScaling` - Whether label font should scale to respect Text Size accessibility settings, default is true.
110110
- `adaptive` - Should the tab icons and labels alignment change based on screen size? Defaults to `true` for iOS 11. If `false`, tab icons and labels align vertically all the time. When `true`, tab icons and labels align horizontally on tablet.
111111
- `safeAreaInset` - Override the `forceInset` prop for `<SafeAreaView>`. Defaults to `{ bottom: 'always', top: 'never' }`. Available keys are `top | bottom | left | right` provided with the values `'always' | 'never'`.
112-
- `keyboardHidesTabBar` - Defaults to `false`. If `true` hide the tab bar when keyboard opens.
112+
- `keyboardHidesTabBar` - Defaults to `true`. If `true` hide the tab bar when keyboard opens.
113113

114114
### Options for `Tab.Screen`
115115

0 commit comments

Comments
 (0)