diff --git a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs index d0f8a1f2b3..7b8c289d69 100644 --- a/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs +++ b/CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs @@ -245,6 +245,11 @@ private void OnImeComposition(IntPtr hwnd, int lParam) if (ImeHandler.GetResult(hwnd, (uint)lParam, out text)) { owner.GetBrowserHost().ImeCommitText(text, new Range(int.MaxValue, int.MaxValue), 0); + if (languageCodeId == ImeNative.LANG_KOREAN) + { + owner.GetBrowserHost().ImeSetComposition(text, new CompositionUnderline[0], new Range(int.MaxValue, int.MaxValue), new Range(0, 0)); + owner.GetBrowserHost().ImeFinishComposingText(false); + } } else {