use rngh scrollview in search horizontal list (#4350)
This commit is contained in:
		
							parent
							
								
									c352e0f8b4
								
							
						
					
					
						commit
						e4b4d854d6
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -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 && ( | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue