Fix AI Workspace loader animation not rendering in Safari - #3261
Fix AI Workspace loader animation not rendering in Safari#3261seminalworks wants to merge 1 commit into
Conversation
The gooey blob effect relied on CSS blur()/contrast() filters applied to content referenced via a CSS mask, which Safari doesn't reliably render. Replaced the mask-based approach with a native SVG filter (feGaussianBlur + feColorMatrix) applied directly to the visible shapes, which renders consistently across Chrome, Safari, and Firefox. Also fixes a layout regression (loader collapsing to zero height, causing text to overlap it) and pins the SVG's absolute position explicitly instead of relying on browser-guessed static positioning. Ported from apim-saas PR wso2#2912 following the migration to this repo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe AI loader now renders filtered, gradient-filled polygons. CSS sets explicit dimensions and SVG rendering properties. The previous mask clipping, trailing ChangesAI Loader Visuals
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized UI change updates the loader rendering and positioning to improve Safari compatibility and prevent layout collapse; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ 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 |
The gooey blob effect relied on CSS blur()/contrast() filters applied to content referenced via a CSS mask, which Safari doesn't reliably render. Replaced the mask-based approach with a native SVG filter (feGaussianBlur + feColorMatrix) applied directly to the visible shapes, which renders consistently across Chrome, Safari, and Firefox.
Also fixes a layout regression (loader collapsing to zero height, causing text to overlap it) and pins the SVG's absolute position explicitly instead of relying on browser-guessed static positioning.
Ported from apim-saas PR #2912 following the migration to this repo.