Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion components/modal/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
Expand Down
1 change: 1 addition & 0 deletions components/vc-dialog/DialogWrap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ const DialogWrap = defineComponent({
}
return (
<Portal
autoLock
visible={visible}
forceRender={forceRender}
getContainer={getContainer}
Expand Down
1 change: 1 addition & 0 deletions components/vc-drawer/src/DrawerWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const DrawerWrapper = defineComponent({
if ($forceRender || props.open || dom.value) {
portal = (
<PortalWrapper
autoLock
visible={props.open}
forceRender={$forceRender}
getContainer={getContainer}
Expand Down