Skip to content

Commit 8332a5f

Browse files
authored
Merge pull request #1048 from vr-varad/fix/connection_filter
Fix: Bug in Web View Connection Filter
2 parents b96cdee + 57a480b commit 8332a5f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/custom/UniversalFilter.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface UniversalFilterProps {
2929
}
3030

3131
export const FilterHeader = styled('div')(({ theme }) => ({
32-
background: theme.palette.mode === 'light' ? lightModalGradient.fotter : darkModalGradient.fotter,
32+
background: theme.palette.mode === 'light' ? lightModalGradient.header : darkModalGradient.header,
3333
padding: '0.75rem 1rem',
3434
margin: '-1rem -1rem 1rem -1rem',
3535
display: 'flex',
@@ -136,7 +136,11 @@ function UniversalFilter({
136136
anchorEl={anchorEl}
137137
placement="bottom-end"
138138
>
139-
<ClickAwayListener onClickAway={handleClose}>
139+
<ClickAwayListener
140+
onClickAway={handleClose}
141+
mouseEvent="onMouseDown"
142+
touchEvent="onTouchStart"
143+
>
140144
<Paper
141145
sx={{
142146
padding: '1rem',

0 commit comments

Comments
 (0)