mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
fix: don't override position unnecessarily
This commit is contained in:
@@ -460,7 +460,7 @@ class TabBarBottom extends React.Component<BottomTabBarProps, State> {
|
||||
],
|
||||
// Absolutely position the tab bar so that the content is below it
|
||||
// This is needed to avoid gap at bottom when the tab bar is hidden
|
||||
position: this.state.keyboard ? 'absolute' : undefined,
|
||||
position: this.state.keyboard ? 'absolute' : position,
|
||||
}
|
||||
: null,
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user