parent
7fd0e4a225
commit
e9d26f2a7d
|
@ -61,12 +61,15 @@ export const genModalMaskStyle: GenerateStyle<TokenWithCommonCls<AliasToken>> =
|
|||
userSelect: 'none',
|
||||
},
|
||||
|
||||
[`${componentCls}${token.antCls}-zoom-leave ${componentCls}-content`]: {
|
||||
pointerEvents: 'none',
|
||||
},
|
||||
|
||||
[`${componentCls}-mask`]: {
|
||||
...box('fixed'),
|
||||
zIndex: token.zIndexPopupBase,
|
||||
height: '100%',
|
||||
backgroundColor: token.colorBgMask,
|
||||
|
||||
[`${componentCls}-hidden`]: {
|
||||
display: 'none',
|
||||
},
|
||||
|
|
|
@ -50,6 +50,7 @@ const DialogWrap = defineComponent({
|
|||
}
|
||||
return (
|
||||
<Portal
|
||||
autoLock
|
||||
visible={visible}
|
||||
forceRender={forceRender}
|
||||
getContainer={getContainer}
|
||||
|
|
|
@ -66,6 +66,7 @@ const DrawerWrapper = defineComponent({
|
|||
if ($forceRender || props.open || dom.value) {
|
||||
portal = (
|
||||
<PortalWrapper
|
||||
autoLock
|
||||
visible={props.open}
|
||||
forceRender={$forceRender}
|
||||
getContainer={getContainer}
|
||||
|
|
Loading…
Reference in New Issue