mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
test: scrollable filter options and sticky search (#5623)
This commit is contained in:
parent
2b7e127680
commit
11b477d872
@ -5,6 +5,7 @@ export const StyledDropdown = styled('div')(({ theme }) => ({
|
|||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
gap: theme.spacing(1),
|
gap: theme.spacing(1),
|
||||||
|
maxHeight: '70vh',
|
||||||
}));
|
}));
|
||||||
|
|
||||||
export const StyledListItem = styled(ListItem)(({ theme }) => ({
|
export const StyledListItem = styled(ListItem)(({ theme }) => ({
|
||||||
|
@ -137,7 +137,7 @@ export const FilterItem: FC<IFilterItemProps> = ({
|
|||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<List disablePadding>
|
<List sx={{ overflowY: 'auto' }} disablePadding>
|
||||||
{options
|
{options
|
||||||
?.filter((option) =>
|
?.filter((option) =>
|
||||||
option.label
|
option.label
|
||||||
|
Loading…
Reference in New Issue
Block a user