From 4dc9ff29b88cee2051087555e56cd86af51e76e0 Mon Sep 17 00:00:00 2001 From: bruno Date: Sun, 12 Jul 2026 17:54:14 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20menu=20contextuel=20=E2=80=94=20@click.a?= =?UTF-8?q?way=20retir=C3=A9,=20@click.self=20sur=20ws-split=20pour=20ferm?= =?UTF-8?q?er?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - @click.away sur ctx-menu retiré (fermait le menu immédiatement) - Fermeture via @click.self sur ws-split (clic sur fond du workspace) - Fermeture via Escape (déjà présent) - Fermeture via les items du menu (ctxMenuOpenPage, etc.) - Mode debug: console.log conservé pour confirmer l'appel handler --- app/templates/local_workspace.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/templates/local_workspace.html b/app/templates/local_workspace.html index 4de3b83..5cea4fa 100644 --- a/app/templates/local_workspace.html +++ b/app/templates/local_workspace.html @@ -341,7 +341,7 @@ @dragleave="onDragLeave($event)" @drop.prevent="onDrop($event)" @keydown="onKeydown($event)" - @contextmenu.prevent="onContextMenu($event)" + @click.self="ctxMenu.visible = false" tabindex="0" x-ref="layout">
@@ -770,7 +770,6 @@
📄 Open