Skip to content

Commit

Permalink
fix: allow tapping search result directly without closing keyboard first
Browse files Browse the repository at this point in the history
  • Loading branch information
leinelissen committed Jun 20, 2023
1 parent fd3c348 commit a330824
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/screens/Search/stacks/Search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export default function Search() {
return (
<SafeAreaView style={{ flex: 1 }}>
<FlatList
keyboardShouldPersistTaps="handled"
style={{ flex: 2, }}
contentContainerStyle={{ paddingTop: offsets.top, paddingBottom: offsets.bottom + SEARCH_INPUT_HEIGHT }}
scrollIndicatorInsets={{ top: offsets.top / 2, bottom: offsets.bottom / 2 + 10 + SEARCH_INPUT_HEIGHT }}
Expand Down

0 comments on commit a330824

Please sign in to comment.