Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextBoxInputMaskBehavior work not well when IME opened #106

Open
zheng303525 opened this issue Apr 14, 2020 · 0 comments
Open

TextBoxInputMaskBehavior work not well when IME opened #106

zheng303525 opened this issue Apr 14, 2020 · 0 comments

Comments

@zheng303525
Copy link

Hello, I run the last sample "ControlzEx.Showcase" in Windows 10, and when I input number in the textbox with IME("Chinese") opened, the caret index will set wrong position.
The reason is when open IME, the property TextBox.TextProperty will changed before TextInput event raise (if use default IME ,the TextInput event will raise before TextBox.TextProperty changed), so var position = this.GetNextCharacterPosition(AssociatedObject.CaretIndex); will get wrong caret index.
I'm sorry for that do not find any good way to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant