Dismiss keyboard on drag in starter pack screens (#6537)
This commit is contained in:
@@ -97,6 +97,7 @@ export function StepFeeds({moderationOpts}: {moderationOpts: ModerationOpts}) {
|
||||
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
|
||||
}
|
||||
onEndReachedThreshold={2}
|
||||
keyboardDismissMode="on-drag"
|
||||
renderScrollComponent={props => <KeyboardAwareScrollView {...props} />}
|
||||
keyboardShouldPersistTaps="handled"
|
||||
disableFullWindowScroll={true}
|
||||
|
||||
@@ -86,6 +86,7 @@ export function StepProfiles({
|
||||
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
|
||||
}
|
||||
onEndReachedThreshold={isNative ? 2 : 0.25}
|
||||
keyboardDismissMode="on-drag"
|
||||
ListEmptyComponent={
|
||||
<View style={[a.flex_1, a.align_center, a.mt_lg, a.px_lg]}>
|
||||
{isLoading ? (
|
||||
|
||||
Reference in New Issue
Block a user