use rngh scrollview in search horizontal list (#4350)

zio/stable
Hailey 2024-06-04 11:06:31 -07:00 committed by GitHub
parent c352e0f8b4
commit e4b4d854d6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -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 && (