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
|
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
|
||||||
}
|
}
|
||||||
onEndReachedThreshold={2}
|
onEndReachedThreshold={2}
|
||||||
|
keyboardDismissMode="on-drag"
|
||||||
renderScrollComponent={props => <KeyboardAwareScrollView {...props} />}
|
renderScrollComponent={props => <KeyboardAwareScrollView {...props} />}
|
||||||
keyboardShouldPersistTaps="handled"
|
keyboardShouldPersistTaps="handled"
|
||||||
disableFullWindowScroll={true}
|
disableFullWindowScroll={true}
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ export function StepProfiles({
|
|||||||
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
|
!query && !screenReaderEnabled ? () => fetchNextPage() : undefined
|
||||||
}
|
}
|
||||||
onEndReachedThreshold={isNative ? 2 : 0.25}
|
onEndReachedThreshold={isNative ? 2 : 0.25}
|
||||||
|
keyboardDismissMode="on-drag"
|
||||||
ListEmptyComponent={
|
ListEmptyComponent={
|
||||||
<View style={[a.flex_1, a.align_center, a.mt_lg, a.px_lg]}>
|
<View style={[a.flex_1, a.align_center, a.mt_lg, a.px_lg]}>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user