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

Commit

Permalink
fix: don't override position unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Dec 3, 2019
1 parent 4c5e062 commit 13830d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/BottomTabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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,
]}
Expand Down

0 comments on commit 13830d9

Please sign in to comment.