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

IME, TextBox - TextBox does not scroll at the end of line when entering CJK characters via IME #12453

Closed
lnxon opened this issue Aug 6, 2023 · 0 comments · Fixed by #12454
Closed
Labels

Comments

@lnxon
Copy link
Contributor

lnxon commented Aug 6, 2023

Describe the bug
You enter CJK chars into TextBox using IME and when the caret reaches left end of the available space, the TextBox should scroll horizontally to show the caret position. But scrolling happens only when you press "enter" and convert the preedit text.

To Reproduce
Steps to reproduce the behavior:
(REFER TO VIDEOS BELOW)

  1. Run ControlCatalog.Desktop
  2. Open "Clipboard" pane
  3. Enter long CJK line into the textbox
  4. When caret reaches the end of available space, you see error (textbox does not scroll until you hit enter key).

Expected behavior
TextBox should scroll each time any key is pressed and a char is added to the preedit text.

Desired behavior:
https://github.com/AvaloniaUI/Avalonia/assets/118665938/98b073be-9088-4538-97dd-61c189fa1f7d

Video showing the issue:
https://github.com/AvaloniaUI/Avalonia/assets/118665938/8025bdd0-a9f8-4c72-8b02-ed7f5bea77ba

Screenshots
See videos above

Desktop (please complete the following information):

  • OS: Windows 10,
  • Version 11.0.2

Additional context

@lnxon lnxon added the bug label Aug 6, 2023
lnxon added a commit to lnxon/Avalonia that referenced this issue Aug 6, 2023
github-merge-queue bot pushed a commit that referenced this issue Sep 13, 2023
grokys pushed a commit that referenced this issue Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant