Fix: update FadeModal to use named import for Z_INDEX and remove redundant zIndex property( it was hiding select input when create label)

This commit is contained in:
Mo Tarbin
2025-07-19 01:18:21 -04:00
parent 7bdfdcc1f8
commit b8677b4c02

View File

@@ -1,5 +1,5 @@
import { Modal, ModalDialog, ModalOverflow } from '@mui/joy'
import Z_INDEX from '../../constants/zIndex'
import { Z_INDEX } from '../../constants/zIndex'
/**
* FadeModal component with consistent fade-in/out animations
@@ -19,10 +19,8 @@ const FadeModal = ({
open={open}
onClose={onClose}
sx={{
zIndex: Z_INDEX.MODAL_BACKDROP,
'& .MuiModal-backdrop': {
backdropFilter: backdropBlur ? 'blur(3px)' : 'none',
zIndex: Z_INDEX.MODAL_BACKDROP,
},
}}
keepMounted