Files
Jordan EldredgeandClaude Opus 5.5 165e55658c Stop the grid's window size from looping React into a crash
The grid read the window's size whenever React read its snapshot. React
re-reads the snapshot after every commit and re-renders if it changed, and
rendering the grid can change the window's size: on Windows, a window size
where the full-width grid gives the page a scrollbar shrinks clientWidth by
the scrollbar, and the narrower grid takes the scrollbar away again. That
went round until React gave up ("Maximum update depth exceeded", #185),
on load or on resizing to such a size.

The size is now measured only when the grid subscribes and on resize, and
the snapshot just returns it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 18:07:45 -08:00
..