Skip to content

Commit

Permalink
Add scroll view to dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapawar1 committed Apr 22, 2024
1 parent 66a336a commit f7b9ca1
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/app/(tabs)/search/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,14 @@ function SearchScreen() {
</View>
))}

<View style={[styles.dropdownContainer, styles.firstDropdown]}>
<ScrollView
horizontal={true}
showsHorizontalScrollIndicator={false}
contentContainerStyle={[
styles.dropdownContainer,
styles.firstDropdown,
]}
>
{search
? renderFilterDropdown(
'Genre',
Expand All @@ -593,7 +600,7 @@ function SearchScreen() {
toneFilterOptions,
setSelectedTonesForFiltering,
)}
</View>
</ScrollView>

{search && (
<View>
Expand Down

0 comments on commit f7b9ca1

Please sign in to comment.