Skip to content

v1.2.6 - Fix Fullscreen Tree Truncation & Centering

Latest

Choose a tag to compare

@drjagan drjagan released this 05 Feb 04:03
· 24 commits to main since this release

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

  1. Click "Tree View" tab
  2. Click fullscreen button (maximize icon)
  3. Tree should fill entire viewport and be centered
  4. Press ESC to exit - tree returns to normal size
  5. Re-enter fullscreen - tree centers again