Skip to content

fix(root): add always-present drag region so window is movable on chrome-less routes (#2316)#2317

Open
toolhive-studio-ci[bot] wants to merge 1 commit into
mainfrom
fix/auto-2316
Open

fix(root): add always-present drag region so window is movable on chrome-less routes (#2316)#2317
toolhive-studio-ci[bot] wants to merge 1 commit into
mainfrom
fix/auto-2316

Conversation

@toolhive-studio-ci

Copy link
Copy Markdown
Contributor

Summary

Fixes #2316.

  • Added an always-present app-region-drag strip in __root.tsx so the window can be moved by dragging on chrome-less routes (/shutdown, /cli-issue) where TopNav is hidden.
  • The strip is fixed top-0 left-0 right-0 h-9 z-50 pointer-events-none — it covers the drag target area without intercepting clicks on underlying content.

Test

  • Added regression test in renderer/src/routes/__tests__/root.drag-region.test.tsx
  • Test asserts that .app-region-drag elements are present when rendering the root layout at /shutdown and /cli-issue
  • Test reproduces the bug (fails before fix, passes after)

Automated fix by Claude Code TDD Agent

@toolhive-studio-ci toolhive-studio-ci Bot added the auto-fix Automated bug fix by Bug Fix Agent label Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-fix Automated bug fix by Bug Fix Agent size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Window can't be moved on chrome-less routes (shutdown, cli-issue) on macOS

0 participants