fix: don't override position unnecessarily

This commit is contained in:
Satyajit Sahoo
2019-12-03 18:34:28 +01:00
parent 8404beef71
commit e700bb9713

View File

@@ -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,
]}