mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: modal mask should block pointer events when opened (#47508)
* fix: modal mask should block pointer events when opened * chore: code clean
This commit is contained in:
parent
dd3e1b2a2e
commit
6033c69e60
@ -131,12 +131,6 @@ export const genModalMaskStyle: GenerateStyle<TokenWithCommonCls<AliasToken>> =
|
||||
overflow: 'auto',
|
||||
outline: 0,
|
||||
WebkitOverflowScrolling: 'touch',
|
||||
|
||||
// Note: Firefox not support `:has` yet
|
||||
[`&:has(${componentCls}${antCls}-zoom-enter), &:has(${componentCls}${antCls}-zoom-appear)`]:
|
||||
{
|
||||
pointerEvents: 'none',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user