fix(FileUploadField): don't render empty dom node#12236
fix(FileUploadField): don't render empty dom node#12236wise-king-sullyman merged 1 commit intopatternfly:mainfrom
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