IME detection faulty on mac,IME detection on mac faulty
I have a project that supports multiple languages. We currently have an issue where users using an Asian keyboard have some wonky behavior when using Inputfields.
On windows when an IME correction popup opens the user can choose a correction then hit enter. This will change the text component of the InputField WITHOUT triggering any of the events (namely OnSubmit). On mac however when the user chooses a correction and hits enter it submits the current text before replacing the text. This obviously isn't what we want to happen...
It turns out after trying this on windows as well that the Input.ImeIsSelected will toggle when you switch to another keyboard.
However on mac it seems that unity isn't properly tracking IME keyboards and does not change that variable when enabling other language keyboards. It seems then that there is some issue internal to unity that is causing this behavior to not function properly.
I'm looking for both clarification on that and to see if there is a workaround for this issue that unity might have available.
THANKS!