This commit is contained in:
Hailey
2024-10-03 09:08:58 -07:00
parent 54ebc4036e
commit 7620b51cf0
+3 -1
View File
@@ -143,14 +143,16 @@ export function Inner({children, style}: DialogInnerProps) {
}
export const ScrollableInner = React.forwardRef<ScrollView, DialogInnerProps>(
function ScrollableInner({children, style}, ref) {
function ScrollableInner({children, style, ...props}, ref) {
const insets = useSafeAreaInsets()
const {nativeSnapPoint} = useDialogContext()
return (
<KeyboardAwareScrollView
style={[a.px_xl, style]}
ref={ref}
{...props}
bounces={nativeSnapPoint === BottomSheetSnapPoint.Full}
nestedScrollEnabled={true}
bottomOffset={30}
ScrollViewComponent={ScrollView}>
{children}