Improving support for Japanese input in Combobox #1783
tacomanator
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When inputting Japanese/Chinese, ideally
onChange
events, and especially the enter, up, and down keys, would be ignored when in a composing state, using theonCompositionEnd
/onCompositionStart
event handlers or the native eventisComposing
property. Otherwise, inputting Japanese becomes very problematic. AddressingonChange
is possible with something like the following:Enter, up, and down are handled in the
onKeyDown
event handler, and I don't see how these could be addressed without modifying the handler to, for example, ignore key presses when in composition mode. for example:Is this something you would consider for headlessui?
PS. I believe this applies to Chinese input as well.
Beta Was this translation helpful? Give feedback.
All reactions