Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with IME #809

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

YanceyOfficial
Copy link

Inputting Chinese, Japanese, or Korean text with a Latin keyboard necessitates the use of an Input Method Editor (IME).

image

However, pressing Enter while the IME is active can interrupt the composition process and submit incomplete or incorrect text.

To prevent this, the onCompositionStart and onCompositionEnd events can be leveraged to determine IME status and block submission until text composition is complete.

ChatGPT utilizes this same approach.

Copy link

vercel bot commented Feb 18, 2025

@YanceyOfficial is attempting to deploy a commit to the Vercel Team on Vercel.

A member of the Team first needs to authorize it.

@Sherlockouo
Copy link

#799 (comment) duplicated pr

@YanceyOfficial
Copy link
Author

#799 (comment) duplicated pr

Got it and your solution is simpler and better than me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants