Skip to content

[V1.2.1] Pressing Enter to confirm Japanese IME conversion sends the message #165

Closed

Description

@Koyukopan

When typing in Japanese, pressing the Enter key to confirm kanji conversion is treated as the send action. This makes it difficult to finish composing a message properly with a Japanese IME.

Activity

  1. changed the title [-][V1.2.2] Pressing Enter to confirm Japanese IME conversion sends the message[/-] [+][V1.2.3] Pressing Enter to confirm Japanese IME conversion sends the message[/+] on Apr 2, 2026
  2. changed the title [-][V1.2.3] Pressing Enter to confirm Japanese IME conversion sends the message[/-] [+][V1.2.2] Pressing Enter to confirm Japanese IME conversion sends the message[/+] on Apr 2, 2026
  3. added
    ImprovementOptimization and improvement over existing feature
    on Apr 7, 2026
  4. changed the title [-][V1.2.2] Pressing Enter to confirm Japanese IME conversion sends the message[/-] [+][V1.2.1] Pressing Enter to confirm Japanese IME conversion sends the message[/+] on Apr 10, 2026
  5. makiroll1125 commented on Jun 15, 2026

    @makiroll1125
    Collaborator

    Only occurs on macOS devices like MacBook, does not occur on Windows.

  6. makiroll1125 commented on Jun 15, 2026

    @makiroll1125
    Collaborator

    Consider modifying Chat.tsx to check isComposing:

    if (e.key === 'Enter' && !e.shiftKey && !e.nativeEvent.isComposing) {
    e.preventDefault()

    if (autocompleteRef.current?.handleEnter()) {
    return
    }

    handleSend()
    }

  7. self-assigned this
    on Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ImprovementOptimization and improvement over existing feature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions