mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 17:47:40 +00:00
A body:has() rule with a descendant subject (the modal blur and toast rules) made Chromium invalidate the whole document's style on every DOM mutation anywhere in the app. A workspace switch paid two full-document recalcs (~1200 elements each, ~9 ms). A childList-only MutationObserver on body now mirrors the overlays into data-modal-overlay-open / data-onboarding-overlay-open and the rules key on those. Co-authored-by: m4air <m4air@Mac.localdomain>