mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-03 08:53:36 +00:00
prevent keyboard shortcuts when typing branch name
This commit is contained in:
@@ -229,6 +229,9 @@ export function WorktreeSelector({
|
|||||||
placeholder="Filter branches..."
|
placeholder="Filter branches..."
|
||||||
value={branchFilter}
|
value={branchFilter}
|
||||||
onChange={(e) => setBranchFilter(e.target.value)}
|
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"
|
className="h-7 pl-7 text-xs"
|
||||||
autoFocus
|
autoFocus
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user