-
-
Notifications
You must be signed in to change notification settings - Fork 50k
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
refactor: refactor Drawer loading #48886
Conversation
Run & review this pull request in StackBlitz Codeflow. |
👁 Visual Regression Report for PR #48886 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. |
I think this is the expected behavior, and I support the <Drawer
open={open}
loading={isLoading}
closable={!isLoading}
title={isLoading? null : <span>Loading Drawer</span>}
>
<p>Some contents...</p>
<p>Some contents...</p>
<p>Some contents...</p>
</Drawer> |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature #48886 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 746 746
Lines 13014 13010 -4
Branches 3426 3425 -1
=========================================
- Hits 13014 13010 -4 ☔ View full report in Codecov by Sentry. |
In most case, Title is no need to load by async. But yes, it can still use spin as loading if needed. |
中文版模板 / Chinese template
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self-Check before Merge