prevent keyboard shortcuts when typing branch name

This commit is contained in:
Cody Seibert
2025-12-16 02:20:10 -05:00
parent 9a428eefe0
commit bd1c4e0690

View File

@@ -229,6 +229,9 @@ export function WorktreeSelector({
placeholder="Filter branches..."
value={branchFilter}
onChange={(e) => setBranchFilter(e.target.value)}
onKeyDown={(e) => e.stopPropagation()}
onKeyUp={(e) => e.stopPropagation()}
onKeyPress={(e) => e.stopPropagation()}
className="h-7 pl-7 text-xs"
autoFocus
/>