File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -61,12 +61,15 @@ export const genModalMaskStyle: GenerateStyle<TokenWithCommonCls<AliasToken>> =
61
61
userSelect : 'none' ,
62
62
} ,
63
63
64
+ [ `${ componentCls } ${ token . antCls } -zoom-leave ${ componentCls } -content` ] : {
65
+ pointerEvents : 'none' ,
66
+ } ,
67
+
64
68
[ `${ componentCls } -mask` ] : {
65
69
...box ( 'fixed' ) ,
66
70
zIndex : token . zIndexPopupBase ,
67
71
height : '100%' ,
68
72
backgroundColor : token . colorBgMask ,
69
-
70
73
[ `${ componentCls } -hidden` ] : {
71
74
display : 'none' ,
72
75
} ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const DialogWrap = defineComponent({
50
50
}
51
51
return (
52
52
< Portal
53
+ autoLock
53
54
visible = { visible }
54
55
forceRender = { forceRender }
55
56
getContainer = { getContainer }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ const DrawerWrapper = defineComponent({
66
66
if ( $forceRender || props . open || dom . value ) {
67
67
portal = (
68
68
< PortalWrapper
69
+ autoLock
69
70
visible = { props . open }
70
71
forceRender = { $forceRender }
71
72
getContainer = { getContainer }
You can’t perform that action at this time.
0 commit comments