commit 03bf25b5418b80204261c5f7690128afc35dbd2e
parent 3433da8b50cb379dcfa68b5f8fcd080136a6562b
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Wed, 14 Oct 2026 01:18:45 -0400
umtool: a menu opened at the column's left edge stays clickable over the rail
timeline-edit.spec's row menu opened leftward from a button near the
column's left edge and fell under the fixed rail (the one red in the
first full run). The rail now sits under every popover (z-index 5) and
the row menu opens into the column.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/umtool/app/globals.css b/umtool/app/globals.css
@@ -417,7 +417,9 @@ canvas.grabbable {
position: fixed;
inset-block: 0;
left: 0;
- z-index: 30;
+ /* Above the page's flow, BELOW its popovers (z-10 and up): a menu opened
+ at the column's left edge may cross the rail and must stay clickable. */
+ z-index: 5;
width: var(--rail-w);
display: flex;
flex-direction: column;
diff --git a/umtool/components/projects/TimelineEditor.tsx b/umtool/components/projects/TimelineEditor.tsx
@@ -161,7 +161,7 @@ export function RowControls({ id, at }: { id: string; at: number }) {
⋯
</button>
{menu && (
- <span className="absolute right-0 z-10 mt-1 flex w-36 flex-col rounded border border-[var(--color-line)] bg-[var(--color-panel)] p-1 text-[11px] shadow">
+ <span className="absolute left-0 z-10 mt-1 flex w-36 flex-col rounded border border-[var(--color-line)] bg-[var(--color-panel)] p-1 text-[11px] shadow">
<button type="button" data-row-action="duplicate" disabled={busy} onClick={() => (setMenu(false), void run("duplicate", { id, at }))} className="px-1 py-0.5 text-left hover:bg-[var(--color-panel-2)]">
duplicate
</button>