Skip to content

Commit

Permalink
Replaced height with minHeight in tabBar styles
Browse files Browse the repository at this point in the history
height sets a fixed height, so if the content exceeds the fixed height, the content will overflow, but with minHeight, the height of the tab bar adapts based on the content.
  • Loading branch information
developedbynick authored Aug 17, 2021
1 parent 24156d3 commit 4cbbeac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion App.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function App() {
tabBarOptions={{
style: {
borderTopWidth: 0,
height: 60,
minHeight: 60,
},
showLabel: false,
activeTintColor: Colors.secondary,
Expand Down

0 comments on commit 4cbbeac

Please sign in to comment.