diff options
| author | Filip <[email protected]> | 2026-02-15 14:46:56 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-15 07:46:56 -0600 |
| commit | 878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d (patch) | |
| tree | aabe3e7bed32871408c9c7fafbec3124e54b28ab | |
| parent | 37611217282b81458bcd5a74850bd96787721b06 (diff) | |
| download | opencode-878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d.tar.gz opencode-878ddc6a0a9eff4fe990dfc241a8eb1c72f0659d.zip | |
fix(app): keybind [shift+tab] (#13695)
| -rw-r--r-- | packages/app/src/context/command.tsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/app/src/context/command.tsx b/packages/app/src/context/command.tsx index 237d71884..03437c973 100644 --- a/packages/app/src/context/command.tsx +++ b/packages/app/src/context/command.tsx @@ -316,8 +316,10 @@ export const { use: useCommand, provider: CommandProvider } = createSimpleContex const isPalette = palette().has(sig) const option = keymap().get(sig) const modified = event.ctrlKey || event.metaKey || event.altKey + const isTab = event.key === "Tab" - if (isEditableTarget(event.target) && !isPalette && !isAllowedEditableKeybind(option?.id) && !modified) return + if (isEditableTarget(event.target) && !isPalette && !isAllowedEditableKeybind(option?.id) && !modified && !isTab) + return if (isPalette) { event.preventDefault() |
