-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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(module: modal): dom cannot be destroyed when the page changed on DestroyOnClose is false #799
Conversation
Codecov Report
@@ Coverage Diff @@
## master #799 +/- ##
=========================================
- Coverage 3.67% 3.66% -0.01%
=========================================
Files 395 395
Lines 17481 17504 +23
=========================================
Hits 642 642
- Misses 16839 16862 +23
Continue to review full report at Codecov.
|
components/core/JsInterop/interop.ts
Outdated
@@ -424,6 +424,12 @@ export function enableBodyScroll() { | |||
removeCls(document.body, "ant-scrolling-effect"); | |||
} | |||
|
|||
export function destroyAllDialog() { | |||
console.log(document.querySelectorAll('.ant-modal-root').length); |
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.
please remove this line of console.log
…DestroyOnClose is false (#799) * fix(module: modal): dom cannot be destroyed when the page changed * chore: remove console.log info of debug
…DestroyOnClose is false (#799) * fix(module: modal): dom cannot be destroyed when the page changed * chore: remove console.log info of debug
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
#757
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge