Skip to content

Conversation

@rickychen-infinirc
Copy link

Fix issue with Enter key handling during Chinese (and other IME-based) text input

Add detection for IME composition state using event.isComposing flag
Add fallback check for keyCode 229 which indicates IME processing
Prevent message submission when Enter is pressed during active IME composition
Allow normal Enter behavior for confirming IME selections
Maintains existing Shift+Enter functionality for line breaks

Before:

2025-04-14.9.28.49.mov

After:

2025-04-14.9.29.48.mov

Fix issue with Enter key handling during Chinese (and other IME-based) text input
@AlexCheema AlexCheema force-pushed the main branch 2 times, most recently from a39f85b to 56f783b Compare October 21, 2025 16:29
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