Fix desktop IME composition submit handling - #38794
Closed
wbcoder0 wants to merge 1 commit into
Closed
Conversation
wbcoder0
marked this pull request as ready for review
June 4, 2026 06:57
Collaborator
|
Duplicate of the IME-composition-Enter fix cluster for #37483. There are several competing open PRs implementing the same |
Contributor
|
Thanks for covering both composition signals and the edit-composer path. Problems
Suggested changes
Automated hermes-sweeper review. |
This was referenced Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why
Chinese/Japanese/Korean IMEs use Enter to confirm candidate text. The desktop composer could treat that Enter as a submit action, sending the prompt before the user had finalized the intended text.
Validation
npm -w apps/desktop run test:ui -- src/app/chat/composer/ime.test.ts src/app/chat/composer/slash-nav-dom-repro.test.tsxnpm -w apps/desktop run type-check