diff --git a/src/components/SharedComponents/Sheets/BottomSheet.tsx b/src/components/SharedComponents/Sheets/BottomSheet.tsx index a7c69e431..38662fbae 100644 --- a/src/components/SharedComponents/Sheets/BottomSheet.tsx +++ b/src/components/SharedComponents/Sheets/BottomSheet.tsx @@ -67,7 +67,7 @@ const StandardBottomSheet = ( { const insets = useSafeAreaInsets( ); const handleClose = useCallback( ( ) => { - onPressClose( ); + if ( onPressClose ) onPressClose( ); if ( insideModal ) { sheetRef.current?.collapse( ); @@ -113,6 +113,7 @@ const StandardBottomSheet = ( { ref={sheetRef} style={marginOnWide} accessible={false} + onDismiss={handleClose} >