WPF TextBox Cursor position changed when I write korean + Hanja key

Banlim 0 Reputation points
2024-04-15T01:02:03.13+00:00

Hello.

When I use WPF TextBox to test, there is a bug that causes the cursor to move to the front of the word when I type in Korean and press the Hanja key.

How to fix it?

I attached a gif file that reproduced the bug.

thanks.

textbox

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,636 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,674 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,266 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hui Liu-MSFT 38,256 Reputation points Microsoft Vendor
    2024-04-15T08:28:22.4533333+00:00

    Hi,@Banlim. Welcome to Microsoft Q&A Forum.

    Regarding the issue of the cursor position changing when writing Korean + Hanja characters in the WPF text box, it is a known issue.

    You could view related issues on GitHub.

    If you are still experiencing problems please comment on #1262


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments