Skip to content

Commit b4ef429

Browse files
committed
make it scrollable
1 parent 5a890f3 commit b4ef429

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/components/Search/FilterDropdowns/DisplayPopup.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {View} from 'react-native';
33
import type {OnyxEntry} from 'react-native-onyx';
44
import MenuItem from '@components/MenuItem';
55
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
6+
import ScrollView from '@components/ScrollView';
67
import type {SearchQueryJSON} from '@components/Search/types';
78
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
89
import useLocalize from '@hooks/useLocalize';
@@ -71,7 +72,7 @@ function DisplayPopup({queryJSON, searchResults, closeOverlay, onSort}: DisplayP
7172
const viewValue = searchAdvancedFilters[CONST.SEARCH.SYNTAX_ROOT_KEYS.VIEW];
7273

7374
return (
74-
<View style={[styles.pv4]}>
75+
<ScrollView contentContainerStyle={[styles.pv4]}>
7576
<MenuItemWithTopDescription
7677
shouldShowRightIcon
7778
description={translate('search.display.sortBy')}
@@ -126,7 +127,7 @@ function DisplayPopup({queryJSON, searchResults, closeOverlay, onSort}: DisplayP
126127
sentryLabel={CONST.SENTRY_LABEL.SEARCH.COLUMNS_BUTTON}
127128
/>
128129
)}
129-
</View>
130+
</ScrollView>
130131
);
131132
}
132133

0 commit comments

Comments
 (0)