mirror of
https://github.com/stablyai/orca.git
synced 2026-09-22 08:02:28 +00:00
* fix(source-control): stop measuring layout on every virtual list render Shared-scroller scrollMargin used a deps-less useLayoutEffect that called getBoundingClientRect after every React render (including git-status polls). Measure on mount/attach only, then refresh via ResizeObserver and childList MutationObserver with cleanup, and add focused tests for no render-time layout reads plus multi-section margin updates. * fix(source-control): prune stale layout observers