fix: allow tapping search result directly without closing keyboard first

This commit is contained in:
Lei Nelissen
2023-06-20 23:03:21 +02:00
parent fd3c3487be
commit a33082425b

View File

@@ -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 }}