-
-
Notifications
You must be signed in to change notification settings - Fork 50.3k
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: optimize the type definition of Modal #41742
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #41742 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 614 614
Lines 10503 10502 -1
Branches 2876 2876
=========================================
- Hits 10503 10502 -1
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
* fix: optimize modal type * test: update test * test: update test * fix: funcModal do not support afterOPenChange * fix: funcModal do not support afterOPenChange1 * docs: use en exegesis * docs: use en exegesis
* fix: optimize modal type * test: update test * test: update test * fix: funcModal do not support afterOPenChange * fix: funcModal do not support afterOPenChange1 * docs: use en exegesis * docs: use en exegesis
[中文版模板 / Chinese template]
🤔 This is a ...
🔗 Related issue link
close #41735
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge
🚀 Summary
🤖 Generated by Copilot at 58acf10
This pull request adds a new prop
afterOpenChange
to theModal
andConfirmDialog
components, and tests its functionality. The prop allows users to specify a callback function that runs after the modal transition finishes.🔍 Walkthrough
🤖 Generated by Copilot at 58acf10
afterOpenChange
prop toModal
andConfirmDialog
components, which is a function that is called after the modal animation ends when the modal is opened or closed (link, link, link).