diff --git a/src/components/BottomSheetScrollView.tsx b/src/components/BottomSheetScrollView.tsx index d7b2d6ac145..a65d30401f9 100644 --- a/src/components/BottomSheetScrollView.tsx +++ b/src/components/BottomSheetScrollView.tsx @@ -1,6 +1,6 @@ import { BottomSheetScrollView as RNBottomSheetScrollView } from '@gorhom/bottom-sheet' -import React, { useState } from 'react' -import { LayoutChangeEvent, StyleProp, StyleSheet, View, ViewStyle } from 'react-native' +import React, { useEffect, useState } from 'react' +import { Keyboard, LayoutChangeEvent, StyleProp, StyleSheet, View, ViewStyle } from 'react-native' import { useSafeAreaFrame, useSafeAreaInsets } from 'react-native-safe-area-context' import { BottomSheetParams } from 'src/navigator/types' import { Spacing } from 'src/styles/styles' @@ -30,6 +30,11 @@ function BottomSheetScrollView({ handleContentLayout, containerStyle, testId, ch } } + // Dismiss keyboard on mount + useEffect(() => { + Keyboard.dismiss() + }, []) + return (