Fix: Prevent form submission during IME composition#3942
Fix: Prevent form submission during IME composition#3942SamyPesse merged 9 commits intoGitbookIO:mainfrom
Conversation
Add isComposing check to prevent Enter key from submitting form while IME (Input Method Editor) is active. This fixes the issue where Japanese/Chinese/Korean users had messages sent during character composition instead of confirming the input. Closes GitbookIO#3941 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🦋 Changeset detectedLatest commit: d44fc31 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
addisonschultz
left a comment
There was a problem hiding this comment.
Tested and working well, ありがとう!
|
@MH4GF Can you please update your branch, and commit the lock file as well? |
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
@addisonschultz Thanks for the quick review! 0c37c99 I updated bun.lock with this commit, and bb763b5 I fixed the format error with this commit. |
|
@MH4GF We just pushed a change to fix development/contributions from non-GitBook team members; can you update from |
Add @gitbook/fontawesome-pro package resolution from upstream changes. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Hi @SamyPesse, thanks for the adjustment😄 The diff in bun.lock is gone. Please check it out! |
|
@SamyPesse By the way, let me know if I need to add a changeset! |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
|
@SamyPesse I added it! d44fc31 It's cool that the CI/CD is all working even with external contributors, thanks for fixing it so quickly! |
|
Thanks to GitBook's AI Assistant, we've been able to reduce inquiries by 30% and also update quickly with the AI coding agent. Thank you! We'll continue to use it! |
|
@MH4GF Thank you for sending us this article! It is very nice to read how GitBook has helped immedio improve support questions from the AI agent 😄 I would love to know more about how GitBook has helped you and your team - would you mind to email me at addison@gitbook.com so I could ask a few more questions? 私も東京に住んでいます 😄 |
|
@addisonschultz Great, I sent an email 👍🏻 |
Summary
Add
isComposingcheck to prevent Enter key from submitting form while IME (Input Method Editor) is active.This fixes the issue where Japanese/Chinese/Korean users had messages sent during character composition instead of confirming the input.
CleanShot.2026-01-27.at.14.57.36.mp4
CleanShot.2026-01-27.at.14.58.27.mp4
Test Results
bun typecheckpassesbun unitpasses (174 tests)Closes #3941