mirror of
https://github.com/stablyai/orca.git
synced 2026-10-09 00:02:39 +00:00
measure() resets all cached DOM measurements back to estimateSize() predictions. When clicking a card triggers a prCache refresh, the effect fires, discarding accurate measurements and replacing them with imprecise estimates — causing visible card overlap. The measureElement ref already uses a ResizeObserver to auto-update sizes when card content changes, making the manual measure() calls unnecessary.