mirror of
https://github.com/stablyai/orca.git
synced 2026-10-21 16:03:26 +00:00
PR/issue data arrives after worktree cards mount, changing their height. The virtualizer's ResizeObserver can miss the resize during React's batched rendering, leaving stale measurements and overlapping cards. Add a useLayoutEffect that re-measures all cached elements when the PR or issue cache grows, ensuring positions are corrected before paint.