-
Notifications
You must be signed in to change notification settings - Fork 378
fix(FileUploadField): don't render empty dom node #12236
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
Conversation
WalkthroughRestructured conditional rendering in FileUploadField component to wrap file details area in a single container that activates when a loading state is active or preview is enabled. The loading spinner and TextArea preview are now rendered together inside this conditional block, consolidating the render flow. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Preview: https://pf-react-pr-12236.surge.sh A11y report: https://pf-react-pr-12236-a11y.surge.sh |
|
Change looks great, thanks! |
|
Your changes have been released in:
Thanks for your contribution! 🎉 |
What: Closes #12235
Summary by CodeRabbit