New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: modal mask should block pointer events when opened #47508
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #47508 Failed ❌
Check Full Report for details |
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit bafd516:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #47508 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 734 734
Lines 12593 12619 +26
Branches 3298 3298
=========================================
+ Hits 12593 12619 +26 ☔ View full report in Codecov by Sentry. |
[`&:has(${componentCls}${antCls}-zoom-enter), &:has(${componentCls}${antCls}-zoom-appear)`]: | ||
{ | ||
pointerEvents: 'none', | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个问题后来用其他方式解决过,可以用 https://codesandbox.io/s/antd-reproduction-template-forked-fh43nt 这个来测一下,我是没有复现的
…7508) * fix: modal mask should block pointer events when opened * chore: code clean
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
fix #46129
fix #47499
💡 Background and solution
这段代码是为了修复 #44197 添加的,实测删掉之后不会复现
📝 Changelog
☑️ Self-Check before Merge