fix: PromptInput 在 local-jsx 命令激活时跳过键盘处理
PromptInput 的 useInput 没有 isLocalJSXCommandActive 检查, 导致所有键盘事件被 PromptInput 消费,local-jsx 命令面板 (如 /pokemon-battle)无法接收输入。新增该检查。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
af0a7054c7
commit
1b777a25ac
|
|
@ -2242,7 +2242,8 @@ function PromptInput({
|
|||
showTeamsDialog ||
|
||||
showQuickOpen ||
|
||||
showGlobalSearch ||
|
||||
showHistoryPicker
|
||||
showHistoryPicker ||
|
||||
isLocalJSXCommandActive
|
||||
) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user