diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index 966f127256..374dc94cd8 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -11,6 +11,7 @@ import { } from 'react-native' import { KeyboardAwareScrollView, + type KeyboardAwareScrollViewRef, useKeyboardHandler, useReanimatedKeyboardAnimation, } from 'react-native-keyboard-controller' @@ -256,7 +257,7 @@ export const ScrollableInner = React.forwardRef( {paddingBottom}, contentContainerStyle, ]} - ref={ref} + ref={ref as React.Ref} showsVerticalScrollIndicator={IS_ANDROID ? false : undefined} {...props} bounces={nativeSnapPoint === BottomSheetSnapPoint.Full}