From 718e6712c56ebdb52d8ef994ba2fe513d404ca2c Mon Sep 17 00:00:00 2001 From: Local Dev Date: Fri, 25 Sep 2026 08:34:44 +0200 Subject: [PATCH] fix(theseus): chrome height sync must not wait for an animation frame MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit syncHeight queued its measurement in requestAnimationFrame, and frames stop whenever the window is occluded — so a prompt closing, or a row hiding, while another window covered Theseus left the chrome at its old height until the window came back. A zero timeout coalesces the same way and always runs. The open-prompt allowance now lives in syncHeight itself, so any re-measure while a prompt is up keeps its room, and the growth helper simply defers to it. --- chrome.html | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/chrome.html b/chrome.html index c99c9913..d154d3b0 100644 --- a/chrome.html +++ b/chrome.html @@ -522,7 +522,22 @@