about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-06-04 11:06:31 -0700
committerGitHub <noreply@github.com>2024-06-04 11:06:31 -0700
commite4b4d854d67bdd5107102b629c265c41a522c1f2 (patch)
tree014de617ad5bd1d667c2e76601e3c784679b9df3 /src
parentc352e0f8b428ad9018dbbf04e1f6e38348cd1318 (diff)
downloadvoidsky-e4b4d854d67bdd5107102b629c265c41a522c1f2.tar.zst
use rngh scrollview in search horizontal list (#4350)
Diffstat (limited to 'src')
-rw-r--r--src/view/screens/Search/Search.tsx5
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 && (