BUGFIX: Dropdown list appears behind modal when it's used in modal (#2282)

This commit is contained in:
catloversg
2025-08-06 18:04:08 +07:00
committed by GitHub
parent 13e3ad190d
commit 82e3b3f9ae
2 changed files with 7 additions and 1 deletions

View File

@@ -408,6 +408,13 @@ export function refreshTheme(): void {
},
},
},
MuiModal: {
styleOverrides: {
root: {
zIndex: 20000,
},
},
},
},
});

View File

@@ -82,7 +82,6 @@ export const Modal = ({
}}
closeAfterTransition
className={classes.modal}
style={{ zIndex: 20000 }}
sx={sx}
>
<Fade in={open}>