Skip to content

Conversation

@64qq
Copy link

@64qq 64qq commented Dec 3, 2024

Closes #315
There is probably no direct way to disable IME input or cancel a composition session. Many IMEs discard the session when the input element was blurred, so I tried removing the focus once, clearing textarea.value and then re-focusing.

As I am a Japanese user, I've tested this with MS-IME and Google Japanese input which are popular IMEs in Japan, and this works almost without any problems. Very high-frequency input may rarely leave input in textarea.value, but it will not be a problem in practice.

This PR does not change the existing behaviour for non-IME input.

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

Successfully merging this pull request may close these issues.

Keystrokes stuck when typing into MathQuill using IME (Input Method Editor)

1 participant