The workaround in the #146 works but it does not handle the InputMethodTextChanged event perfectly.
I searched around javafx's code and found how it is done for TextInputControl.
https://github.com/openjdk/jfx/blob/dd22cd2d97d4bfc305e44f2e77b4c104c62ff31f/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java#L693
The workaround in the #146 works but it does not handle the InputMethodTextChanged event perfectly.
I searched around javafx's code and found how it is done for TextInputControl.
https://github.com/openjdk/jfx/blob/dd22cd2d97d4bfc305e44f2e77b4c104c62ff31f/modules/javafx.controls/src/main/java/javafx/scene/control/skin/TextInputControlSkin.java#L693