From 0219d86301c1cef56079d266d7ed4aef4fec37a7 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Wed, 25 Feb 2026 00:25:04 +0100 Subject: [PATCH] Revert canvas parent z-index to avoid masking sidebar Keep only the timeline z-index: 1000 bump. Setting z-index on the canvas parent would create a stacking context that paints over the sidebar panel, blocking interaction. Co-Authored-By: Claude Opus 4.6 --- js/snapshot_manager.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/js/snapshot_manager.js b/js/snapshot_manager.js index cf8c851..1ed465b 100644 --- a/js/snapshot_manager.js +++ b/js/snapshot_manager.js @@ -1413,15 +1413,11 @@ function buildTimeline() { return; } - // Ensure parent is positioned so absolute children work, and - // sits above the ComfyUI sidebar (z-index: 10) in the stacking order + // Ensure parent is positioned so absolute children work const parentPos = getComputedStyle(canvasParent).position; if (parentPos === "static") { canvasParent.style.position = "relative"; } - if (!canvasParent.style.zIndex) { - canvasParent.style.zIndex = "20"; - } // Create root element const bar = document.createElement("div");