use rngh scrollview in search horizontal list (#4350)
This commit is contained in:
@@ -10,6 +10,7 @@ import {
|
|||||||
TextInput,
|
TextInput,
|
||||||
View,
|
View,
|
||||||
} from 'react-native'
|
} from 'react-native'
|
||||||
|
import {ScrollView as RNGHScrollView} from 'react-native-gesture-handler'
|
||||||
import {AppBskyActorDefs, AppBskyFeedDefs, moderateProfile} from '@atproto/api'
|
import {AppBskyActorDefs, AppBskyFeedDefs, moderateProfile} from '@atproto/api'
|
||||||
import {
|
import {
|
||||||
FontAwesomeIcon,
|
FontAwesomeIcon,
|
||||||
@@ -977,7 +978,7 @@ function SearchHistory({
|
|||||||
styles.selectedProfilesContainer,
|
styles.selectedProfilesContainer,
|
||||||
isMobile && styles.selectedProfilesContainerMobile,
|
isMobile && styles.selectedProfilesContainerMobile,
|
||||||
]}>
|
]}>
|
||||||
<ScrollView
|
<RNGHScrollView
|
||||||
keyboardShouldPersistTaps="handled"
|
keyboardShouldPersistTaps="handled"
|
||||||
horizontal={true}
|
horizontal={true}
|
||||||
style={styles.profilesRow}
|
style={styles.profilesRow}
|
||||||
@@ -1022,7 +1023,7 @@ function SearchHistory({
|
|||||||
</Pressable>
|
</Pressable>
|
||||||
</View>
|
</View>
|
||||||
))}
|
))}
|
||||||
</ScrollView>
|
</RNGHScrollView>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
{searchHistory.length > 0 && (
|
{searchHistory.length > 0 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user