Skip to content

Commit be43dfe

Browse files
authored
new documentation - tabBarOptions keyboardHidesTabBar (react-navigation#439)
* new documentation - tabBarOptions keyboardHidesTabBar referencing: https://github.com/react-navigation/tabs/issues/16#issuecomment-485027123
2 parents 25f537c + 3b9a856 commit be43dfe

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/bottom-tab-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ The route configs object is a mapping from route name to a route config, which t
5151
* `allowFontScaling` - Whether label font should scale to respect Text Size accessibility settings, default is true.
5252
* `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.
5353
* `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'`.
54+
* `keyboardHidesTabBar` - Defaults to `false`. If `true` hide the tab bar when keyboard opens.
5455

5556
Example:
5657

website/versioned_docs/version-3.x/bottom-tab-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ The route configs object is a mapping from route name to a route config, which t
4242
* `allowFontScaling` - Whether label font should scale to respect Text Size accessibility settings, default is true.
4343
* `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.
4444
* `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'`.
45+
* `keyboardHidesTabBar` - Defaults to `false`. If `true` hide the tab bar when keyboard opens.
4546

4647
Example:
4748

0 commit comments

Comments
 (0)