Disable events on hidden bars (#1686)
This commit is contained in:
@@ -87,6 +87,7 @@ export const BottomBar = observer(function BottomBarImpl({
|
||||
pal.border,
|
||||
{paddingBottom: clamp(safeAreaInsets.bottom, 15, 30)},
|
||||
footerMinimalShellTransform,
|
||||
store.shell.minimalShellMode && styles.disabled,
|
||||
]}>
|
||||
<Btn
|
||||
testID="bottomBarHomeBtn"
|
||||
|
||||
@@ -65,4 +65,7 @@ export const styles = StyleSheet.create({
|
||||
borderWidth: 1,
|
||||
borderRadius: 100,
|
||||
},
|
||||
disabled: {
|
||||
pointerEvents: 'none',
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user