We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b96cdee + 57a480b commit 8332a5fCopy full SHA for 8332a5f
1 file changed
src/custom/UniversalFilter.tsx
@@ -29,7 +29,7 @@ export interface UniversalFilterProps {
29
}
30
31
export const FilterHeader = styled('div')(({ theme }) => ({
32
- background: theme.palette.mode === 'light' ? lightModalGradient.fotter : darkModalGradient.fotter,
+ background: theme.palette.mode === 'light' ? lightModalGradient.header : darkModalGradient.header,
33
padding: '0.75rem 1rem',
34
margin: '-1rem -1rem 1rem -1rem',
35
display: 'flex',
@@ -136,7 +136,11 @@ function UniversalFilter({
136
anchorEl={anchorEl}
137
placement="bottom-end"
138
>
139
- <ClickAwayListener onClickAway={handleClose}>
+ <ClickAwayListener
140
+ onClickAway={handleClose}
141
+ mouseEvent="onMouseDown"
142
+ touchEvent="onTouchStart"
143
+ >
144
<Paper
145
sx={{
146
padding: '1rem',
0 commit comments