Repository navigation
fix(frontend): ignore Enter during IME composition - #13122
Merged
SchrodingersGat merged 1 commit intoOct 28, 2026
Merged
SchrodingersGat merged 1 commit into
SchrodingersGat merged 1 commit into
Conversation
highvoltagescientist-arch
requested a review
from SchrodingersGat
as a code owner
October 28, 2026 06:44
✅ Deploy Preview for inventree-web-pui-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
matmair
approved these changes
Oct 28, 2026
Member
|
@highvoltagescientist-arch thanks for the contribution :) |
Contributor
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
SchrodingersGat
pushed a commit
that referenced
this pull request
Oct 28, 2026
(cherry picked from commit 86b6c5f) Co-authored-by: マサハル電機 <[email protected]> Co-authored-by: TSUBASA <[email protected]>
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.

Summary
Fix unintended form submission when confirming text input using an Input Method Editor (IME), commonly used for Japanese, Chinese, and Korean input.
When typing with an IME, the Enter key is used to confirm character conversion or text composition. However, forms using
TextFieldcurrently interpret this Enter keypress as a form submission, causing the form to close unexpectedly while the user is still entering text.This change prevents Enter from triggering the form's key handler while IME composition is active, using
isComposingand key code229for compatibility.Normal Enter key behavior remains unchanged.
Verification