Skip to content

Commit

Permalink
fix: modal mask should block pointer events when opened (ant-design#4…
Browse files Browse the repository at this point in the history
…7508)

* fix: modal mask should block pointer events when opened

* chore: code clean
  • Loading branch information
MadCcc authored Feb 21, 2024
1 parent dd3e1b2 commit 6033c69
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions components/modal/style/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},
},
},
Expand Down

0 comments on commit 6033c69

Please sign in to comment.