fix: update z-index values for DialogWrapper components to ensure proper stacking context

This commit is contained in:
twwu 2025-06-13 14:44:32 +08:00
parent 55bff10f0d
commit b0107f4128
3 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ const InputTypeSelectField = ({
}}
popupProps={{
className: 'w-[368px]',
wrapperClassName: 'z-40',
wrapperClassName: 'z-[9999999]',
itemClassName: 'gap-x-1',
}}
CustomTrigger={renderTrigger}

View File

@ -21,7 +21,7 @@ const DialogWrapper = ({
const close = useCallback(() => onClose?.(), [onClose])
return (
<Transition appear show={show} as={Fragment}>
<Dialog as='div' className='relative z-[2000]' onClose={close}>
<Dialog as='div' className='relative z-[1000000]' onClose={close}>
<TransitionChild>
<div className={cn(
'fixed inset-0 bg-black/25',

View File

@ -21,7 +21,7 @@ const DialogWrapper = ({
const close = useCallback(() => onClose?.(), [onClose])
return (
<Transition appear show={show} as={Fragment}>
<Dialog as='div' className='relative z-[2001]' onClose={close}>
<Dialog as='div' className='relative z-[1000001]' onClose={close}>
<TransitionChild>
<div className={cn(
'fixed inset-0 bg-black/25',