Skip to content

Conversation

@morikoudayo
Copy link

When typing in languages that require IME composition (e.g., Japanese) in a chat interface with an LLM, Enter needs to be pressed twice. However, the message is currently sent on the first Enter key press during composition.

To fix this, I prevented the default action when e.browserEvent.isComposing is true, ensuring that the message is not sent while IME composition is still in progress.

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.

1 participant