mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
When rows shrink (group collapse, worktree removal) while PR/issue data arrives asynchronously, the virtualizer's elementsCache can hold stale entries whose data-index exceeds the new rows length. measureElement calls getItemKey for those stale indices, causing "Cannot read properties of undefined (reading 'type')". Add a null guard matching the pattern already used by FileExplorer and Search virtualizers.