From 862045ecf1487806663d21b6d4e6abc46cd1c5d3 Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Wed, 25 Feb 2026 00:24:32 +0100 Subject: [PATCH] Fix timeline bar hidden behind sidebar by raising z-index ComfyUI's sidebar container uses z-index: 10. The timeline was at the same level and lost in the stacking order. Bump timeline to z-index 1000 and set z-index 20 on the canvas parent so it forms a stacking context above the sidebar. Co-Authored-By: Claude Opus 4.6 --- js/snapshot_manager.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/js/snapshot_manager.js b/js/snapshot_manager.js index 8ece206..cf8c851 100644 --- a/js/snapshot_manager.js +++ b/js/snapshot_manager.js @@ -891,7 +891,7 @@ const CSS = ` display: flex; align-items: center; padding: 0 16px; - z-index: 10; + z-index: 1000; pointer-events: auto; } .snap-timeline-track { @@ -1413,11 +1413,15 @@ function buildTimeline() { return; } - // Ensure parent is positioned so absolute children work + // Ensure parent is positioned so absolute children work, and + // sits above the ComfyUI sidebar (z-index: 10) in the stacking order 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");