diff --git a/src/index.html b/src/index.html index 0ea3d9b..f0f2ed8 100644 --- a/src/index.html +++ b/src/index.html @@ -10773,8 +10773,11 @@ } if (key) el.dataset.linkedKey = key; + // Synchronous paint helper. Callers from the async path must + // guard against el having been detached between the await and + // here; the synchronous peek-hit path calls this before el is + // even appended to the overlay, so don't guard inside. const renderResolved = (payload) => { - if (!el.isConnected) return; // host re-rendered while we fetched fitWrap.innerHTML = ''; try { renderDesignPayloadPreview(fitWrap, payload, { compact: true, transparentPixelArt: true });