fix: update tab bar height correctly. fixes #9296

This commit is contained in:
Satyajit Sahoo
2021-04-16 12:39:17 +02:00
parent 47e371609d
commit 338ed6ff07

View File

@@ -284,12 +284,9 @@ export default function BottomTabBar({
tabBarStyle,
]}
pointerEvents={isTabBarHidden ? 'none' : 'auto'}
onLayout={handleLayout}
>
<View
accessibilityRole="tablist"
style={styles.content}
onLayout={handleLayout}
>
<View accessibilityRole="tablist" style={styles.content}>
{routes.map((route, index) => {
const focused = index === state.index;
const { options } = descriptors[route.key];