Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wanakana bind prevents external IME from converting when hitting a conversion containing latin characters #179

Open
Kuuuube opened this issue Mar 10, 2025 · 0 comments

Comments

@Kuuuube
Copy link

Kuuuube commented Mar 10, 2025

To reproduce:

  1. Attach wanakana to a textarea using wanakana.bind (the wanakana website works fine for testing this)
  2. Focus the textarea
  3. Activate a Japanese IME
  4. Type a word in the search bar that can be converted to something that contains half width latin characters (for example えいご which can convert to A5)
  5. Attempt to convert the word to kanji using space and press space multiple times
  6. Keep pressing space until you hit the latin character conversion

Upon hitting the latin character conversion in your IME, wanakana jumps in and kills the IME. In this example with えいご it is impossible for someone to convert えいご to an IME entry below the conversion of A5. Wanakana will convert A5 to ア5 regardless of if the user is still composing from the IME. (https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/isComposing)

Reported by a user using Google IME on Windows. Replicated by me using Mozc on Linux with both Firefox and Chromium.

@Kuuuube Kuuuube changed the title Wanakana bind prevents external IME from converting when using space for conversion Wanakana bind prevents external IME from converting when hitting a conversion containing latin characters Mar 10, 2025
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

No branches or pull requests

1 participant