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>> =
6161 userSelect : 'none' ,
6262 } ,
6363
64+ [ `${ componentCls } ${ token . antCls } -zoom-leave ${ componentCls } -content` ] : {
65+ pointerEvents : 'none' ,
66+ } ,
67+
6468 [ `${ componentCls } -mask` ] : {
6569 ...box ( 'fixed' ) ,
6670 zIndex : token . zIndexPopupBase ,
6771 height : '100%' ,
6872 backgroundColor : token . colorBgMask ,
69-
7073 [ `${ componentCls } -hidden` ] : {
7174 display : 'none' ,
7275 } ,
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ const DialogWrap = defineComponent({
5050 }
5151 return (
5252 < Portal
53+ autoLock
5354 visible = { visible }
5455 forceRender = { forceRender }
5556 getContainer = { getContainer }
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ const DrawerWrapper = defineComponent({
6666 if ( $forceRender || props . open || dom . value ) {
6767 portal = (
6868 < PortalWrapper
69+ autoLock
6970 visible = { props . open }
7071 forceRender = { $forceRender }
7172 getContainer = { getContainer }
You can’t perform that action at this time.
0 commit comments