[PR #9564] fix(ui): prevent Enter key action during IME composition #13149

Closed
opened 2026-02-16 18:18:01 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9564

State: closed
Merged: Yes


What does this PR do?

Fixes a bug where pressing Enter to confirm IME (Input Method Editor) composition also triggers list item selection.

How did you verify your code works?

  1. run bun dev -- --port 4096 in the root folder
  2. run bun run --cwd packages/app dev in the root folder in another terminal, open the local web app
  3. use Chinese to search models
  4. pressing Enter during composition only confirm IME text
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9564 **State:** closed **Merged:** Yes --- - Add isComposing check to avoid triggering selection during IME input confirmation - Closes #9563 ### What does this PR do? Fixes a bug where pressing Enter to confirm IME (Input Method Editor) composition also triggers list item selection. ### How did you verify your code works? 1. run `bun dev -- --port 4096` in the root folder 2. run `bun run --cwd packages/app dev` in the root folder in another terminal, open the local web app 3. use Chinese to search models 4. pressing Enter during composition only confirm IME text
yindo added the pull-request label 2026-02-16 18:18:01 -05:00
yindo closed this issue 2026-02-16 18:18:01 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13149