Summary
Fix the terminal panel drag-to-resize bug where the panel follows the mouse incorrectly after reaching ~1/3 screen height.
Context
Per the Dashboard Workflow Roadmap, Section 7.3. Known issue in the BottomPanel component.
Root Cause
Math.min(400, ...) cap in BottomPanel's onMove handler artificially limits the terminal height to 400px. When the user drags beyond this limit, the panel stops resizing but the mouse continues — creating a disconnect between cursor position and panel edge.
Fix
- Remove or significantly raise the
400 pixel cap (e.g., Math.min(window.innerHeight * 0.8, ...))
- Ensure
mouseup listener cleanup is robust (verify no lingering listeners after drag ends)
- Consider using
pointer events instead of mouse events for better touch/trackpad support
Acceptance Criteria
Effort
Tiny (15 minutes)
Source
Dashboard Workflow Roadmap, Section 7.3 — Bug Fix: Drag-to-Resize
Summary
Fix the terminal panel drag-to-resize bug where the panel follows the mouse incorrectly after reaching ~1/3 screen height.
Context
Per the Dashboard Workflow Roadmap, Section 7.3. Known issue in the
BottomPanelcomponent.Root Cause
Math.min(400, ...)cap inBottomPanel'sonMovehandler artificially limits the terminal height to 400px. When the user drags beyond this limit, the panel stops resizing but the mouse continues — creating a disconnect between cursor position and panel edge.Fix
400pixel cap (e.g.,Math.min(window.innerHeight * 0.8, ...))mouseuplistener cleanup is robust (verify no lingering listeners after drag ends)pointerevents instead ofmouseevents for better touch/trackpad supportAcceptance Criteria
mouseuplistener cleaned up reliablyEffort
Tiny (15 minutes)
Source
Dashboard Workflow Roadmap, Section 7.3 — Bug Fix: Drag-to-Resize