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

RightToLeft in TextBox messes up new lines #18336

Open
waamit opened this issue Feb 27, 2025 · 0 comments
Open

RightToLeft in TextBox messes up new lines #18336

waamit opened this issue Feb 27, 2025 · 0 comments
Labels

Comments

@waamit
Copy link

waamit commented Feb 27, 2025

Describe the bug

When using a multiline TextBox with FlowDirection="RightToLeft", after writing something and trying to press enter, the caret wont go to the next line until something is written, pressing enter again will go down 2 lines instead.

To Reproduce

Add

<TextBox AcceptsReturn="True" MinLines="4" FlowDirection="RightToLeft" />

to an avalonia application, write something and press enter

Expected behavior

The caret should go to the next line when enter is pressed the first time

Avalonia version

11.2.4

OS

Windows

Additional context

No response

@waamit waamit added the bug label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant