diff options
author | Hailey <me@haileyok.com> | 2024-06-04 11:06:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-04 11:06:31 -0700 |
commit | e4b4d854d67bdd5107102b629c265c41a522c1f2 (patch) | |
tree | 014de617ad5bd1d667c2e76601e3c784679b9df3 /src | |
parent | c352e0f8b428ad9018dbbf04e1f6e38348cd1318 (diff) | |
download | voidsky-e4b4d854d67bdd5107102b629c265c41a522c1f2.tar.zst |
use rngh scrollview in search horizontal list (#4350)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Search/Search.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/view/screens/Search/Search.tsx b/src/view/screens/Search/Search.tsx index 003f9a8ba..c8438a348 100644 --- a/src/view/screens/Search/Search.tsx +++ b/src/view/screens/Search/Search.tsx @@ -10,6 +10,7 @@ import { TextInput, View, } from 'react-native' +import {ScrollView as RNGHScrollView} from 'react-native-gesture-handler' import {AppBskyActorDefs, AppBskyFeedDefs, moderateProfile} from '@atproto/api' import { FontAwesomeIcon, @@ -977,7 +978,7 @@ function SearchHistory({ styles.selectedProfilesContainer, isMobile && styles.selectedProfilesContainerMobile, ]}> - <ScrollView + <RNGHScrollView keyboardShouldPersistTaps="handled" horizontal={true} style={styles.profilesRow} @@ -1022,7 +1023,7 @@ function SearchHistory({ </Pressable> </View> ))} - </ScrollView> + </RNGHScrollView> </View> )} {searchHistory.length > 0 && ( |