mirror of https://github.com/langgenius/dify.git
fix: update z-index values for DialogWrapper components to ensure proper stacking context
This commit is contained in:
parent
55bff10f0d
commit
b0107f4128
|
|
@ -50,7 +50,7 @@ const InputTypeSelectField = ({
|
|||
}}
|
||||
popupProps={{
|
||||
className: 'w-[368px]',
|
||||
wrapperClassName: 'z-40',
|
||||
wrapperClassName: 'z-[9999999]',
|
||||
itemClassName: 'gap-x-1',
|
||||
}}
|
||||
CustomTrigger={renderTrigger}
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in New Issue