Skip to content
This repository was archived by the owner on Feb 25, 2020. It is now read-only.

Commit 13830d9

Browse files
committed
fix: don't override position unnecessarily
1 parent 4c5e062 commit 13830d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/BottomTabBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ class TabBarBottom extends React.Component<BottomTabBarProps, State> {
460460
],
461461
// Absolutely position the tab bar so that the content is below it
462462
// This is needed to avoid gap at bottom when the tab bar is hidden
463-
position: this.state.keyboard ? 'absolute' : undefined,
463+
position: this.state.keyboard ? 'absolute' : position,
464464
}
465465
: null,
466466
]}

0 commit comments

Comments
 (0)