From b32b94e863b64466dd721cfa0c37f7e41c0200d1 Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 17:36:49 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20menu=20contextuel=20=E2=80=94=20@click.o?= =?UTF-8?q?utside=20=E2=86=92=20@click.away=20(corrige=20fermeture=20imm?= =?UTF-8?q?=C3=A9diate)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @click.outside détectait le clic-droit d'ouverture comme 'outside' → menu fermé immédiatement après ouverture. Même bug que le dropdown sidebar. - @click.away utilise setTimeout → le handler s'enregistre APRÈS le cycle d'événement courant → le clic d'ouverture n'est pas capté comme 'away'. - Fonctionne dans TOUTES les vues: tree (renderChildren), list, details, cards, content — elles ont toutes data-ws-id --- app/main.py | 2 +- app/templates/local_workspace.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 4834b00..a054f1c 100644 --- a/app/main.py +++ b/app/main.py @@ -39,7 +39,7 @@ async def lifespan(_app: FastAPI): app = FastAPI( title="FlowDeck", - version="2.4.1", + version="2.4.2", docs_url="/docs" if settings.log_level == "DEBUG" else None, redoc_url=None, lifespan=lifespan, diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index e79ebc6..d490e49 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -770,7 +770,7 @@
📄 Open