Skip to content

IME input: first character is committed as half-width when entering Japanese (compositionstart/select conflict) #387

@Nonoyamalfoy

Description

@Nonoyamalfoy

Bug description

When using IME (e.g. Japanese input), the first character typed in a cell is committed as half-width alphanumeric
instead of entering IME composition mode. This makes it impossible to type Japanese/Chinese/Korean from the first
character.

Steps to reproduce

  1. Set keyboard to Japanese IME (or any CJK input method)
  2. Click on a cell using textColumn
  3. Type a character (e.g. press "a" expecting to get "あ")
  4. The first character is committed as "a" instead of entering composition mode

Expected behavior

The first character should enter IME composition mode, allowing the user to compose and convert characters normally.

Environment

  • OS: macOS / Windows
  • Browser: Chrome
  • react-datasheet-grid version: 4.11.5
  • Input method: Japanese IME

Related

#306

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