fix: commands popup hidden under UI elements (#936)#938
Conversation
…pup z-index Removing `paint` from the CSS `contain` property fixes the commands popup being hidden under other UI elements. `contain: paint` creates a new stacking context that clips overflow, preventing the popup from rendering above sibling elements. Fixes siteboon#936 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughIn ChangesCommands Popup Visibility Fix
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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 |
Summary
paintfromcontainproperty on.chat-composer-shellinsrc/index.csscontain: paintwas creating a new stacking context that clipped the commands popup, causing it to render behind other UI elementsRoot Cause
contain: painttells the browser the element's content won't overflow its bounds, which implicitly creates a new stacking context. This prevented the commands popup from appearing above sibling elements regardless of z-index.Fix
Test plan
/in chat input → commands popup appears above all UI elementsCloses #936
🤖 Generated with Claude Code
Summary by CodeRabbit