Skip to content

[Bug] Japanese IME input broken in Web Dashboard (Linux/Chrome+Firefox) #27

Description

@cosmosnoh19-gif

Environment

  • OS: Ubuntu Linux
  • Browser: Firefox / Chrome
  • IME: fcitx5
  • OpenClaude version: v0.9.2
  • Provider: Google Gemini

Bug Description

Japanese IME input does not work in the Web Dashboard chat input field.
Characters cannot be entered at all when using Japanese input (fcitx5).
English input works fine.

Root Cause

In dashboard/index.html line 847, the Enter key handler does not check
e.isComposing, causing IME composition events to conflict with the send action.

Before (buggy):

if (e.key === 'Enter' && !e.shiftKey) { e.preventDefault(); sendMessage(); }

After (fixed):

if (e.key === 'Enter' && !e.shiftKey && !e.isComposing) { e.preventDefault(); sendMessage(); }

Additional Notes

  • Firefox does not work even after the fix; Chrome works correctly after the fix
  • Browser cache must be cleared after applying the fix

Workaround

Apply the fix above to dashboard/index.html and use Chrome browser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions