Skip to content

insertCompositionText (and isComposing) cannot tell the input event accompanied by compositionEnd from the other WIP IME input events #176

Description

@tats-u
  1. Enable Japanese IME
  2. Type s
  3. Type i
  4. Press Space to convert and get e.g. "詩"
  5. Change the candidate to another one, e.g. "市"
  6. Press Enter to Commit

You get the completely same kind of input events in 2–6 where:

  • isComposing is true
  • inputType is insertCompositionText

A different type should be assigned to 6.
How can we notice the end of composition without combining with compositionEnd?

Another approach (adding additional property to InputEvent):

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions