Skip to content

fix: make delete dialog overlay block clicks to content behind (#303)#324

Merged
sauravpanda merged 1 commit intomainfrom
worktree-agent-aecb323b
Apr 10, 2026
Merged

fix: make delete dialog overlay block clicks to content behind (#303)#324
sauravpanda merged 1 commit intomainfrom
worktree-agent-aecb323b

Conversation

@sauravpanda
Copy link
Copy Markdown
Owner

Summary

  • .delete-confirm-dialog had z-index: 9902 which was below its own Radix overlay at z-index: 9998, making buttons unclickable
  • Fixed z-index to 9999 and added pointer-events: auto as safeguard

Closes #303

Test plan

  • Delete worktree → dialog buttons are clickable with mouse

🤖 Generated with Claude Code

The delete-confirm-dialog CSS set z-index: 9902, which in Tailwind v4's
layered cascade was overriding the Radix AlertDialogContent's z-[9999]
utility. This placed the dialog content (9902) below the overlay backdrop
(9998), making buttons unclickable with the mouse. Bump the dialog
z-index to 9999 and add pointer-events: auto as a safeguard.
@sauravpanda sauravpanda merged commit 26e81c0 into main Apr 10, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: delete worktree confirmation dialog buttons not clickable

1 participant