Repository navigation
Bug Fix
Fixes the fullscreen tree view truncation and centering issues.
Changes
- Fixed truncation: Tree now fills the entire viewport in fullscreen mode instead of being constrained by an invisible boundary
- Fixed centering: Tree automatically centers when entering fullscreen mode
- Exit handling: Tree properly resets position when exiting fullscreen
Technical Details
- ResizeObserver now uses actual container height (
entry.contentRect.height) in fullscreen mode instead of hardcoded prop value resetView()now accepts optional width/height parameters for dynamic centering- Fullscreen change handler calls
resetView()with new dimensions when entering fullscreen
Verification
- Click "Tree View" tab
- Click fullscreen button (maximize icon)
- Tree should fill entire viewport and be centered
- Press ESC to exit - tree returns to normal size
- Re-enter fullscreen - tree centers again