[OPIK-5360] [FE] fix: collapse ResizableSidePanel width when closed to prevent scroll overflow#6003
Conversation
…o prevent scroll overflow The panel's portal wrapper used `absolute inset-0` which gave it full viewport width even when closed. While `pointer-events-none` blocked interactions, the element still contributed to the document's scrollable width, causing a blank page when scrolling all the way right. Adding `w-0` when closed collapses the wrapper so it no longer extends the scroll area. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
📋 PR Linter Failed❌ Missing Section. The description is missing the ❌ Missing Section. The description is missing the ❌ Missing Section. The description is missing the ❌ Missing Section. The description is missing the ❌ Missing Section. The description is missing the |
|
🔄 Test environment deployment process has started Phase 1: Deploying base version You can monitor the progress here. |
|
✅ Test environment is now available! To configure additional Environment variables for your environment, run [Deploy Opik AdHoc Environment workflow] (https://github.com/comet-ml/comet-deployment/actions/workflows/deploy_opik_adhoc_env.yaml) Access Information
The deployment has completed successfully and the version has been verified. |
Details
Fix horizontal scroll showing a blank page when scrolling all the way to the right on any page with a table (Projects, Experiments, Datasets).
The
ResizableSidePanelportal wrapper usesabsolute inset-0, giving it full viewport width even when closed. Whilepointer-events-noneblocked interactions, the element still contributed to the document's scrollable width. Addingw-0when the panel is closed collapses the wrapper so it no longer extends the scroll area.Change checklist
Issues
AI-WATERMARK
AI-WATERMARK: yes
Testing
Documentation
N/A