Skip to content

Commit 2320a81

Browse files
committed
fix: clipped views when keyboard is closing
1 parent 61473b5 commit 2320a81

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/bottomSheet/BottomSheet.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -1496,7 +1496,6 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
14961496
configs: _providedAnimationConfigs,
14971497
overrideReduceMotion: _providedOverrideReduceMotion,
14981498
}),
1499-
overflow: 'hidden',
15001499
};
15011500
}, [
15021501
enableDynamicSizing,
@@ -1951,10 +1950,13 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
19511950
// animatedHandleGestureState,
19521951
// animatedContentGestureState,
19531952
animatedContainerHeight,
1953+
animatedContentHeightMax,
19541954
animatedSheetHeight,
19551955
animatedHandleHeight,
19561956
animatedContentHeight,
19571957
animatedFooterHeight,
1958+
animatedKeyboardHeight,
1959+
animatedKeyboardHeightInContainer,
19581960
// // keyboardHeight,
19591961
// isLayoutCalculated,
19601962
// isContentHeightFixed,

src/components/bottomSheet/styles.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export const styles = StyleSheet.create({
88
left: 0,
99
right: 0,
1010
},
11-
contentContainer: {},
11+
contentContainer: {
12+
overflow: 'visible',
13+
},
1214
contentMaskContainer: {
1315
overflow: 'hidden',
1416
},

0 commit comments

Comments
 (0)