-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[WIP][Text]Fix multiple issues with bidi text trimming #17899
base: master
Are you sure you want to change the base?
Conversation
You can test this PR using the following package version. |
Thanks for the quick fix! It should look like this -
But in Avalonia it aligned to left, like this - I think the issue is the resolved direction is LTR instead of RTL (which should be based on the first word (or in this case |
Your example is embedding RTL into LTR so the resolved direction is LTR. Set the FlowDirection to RTL and it should be ordered like your example. |
I checked with RTL layout; it's not working unfortunately. Also, I believe it should be resolving based on first token (e.g. word/character), that's the behavior I am seeing in almost all apps and I am typing a lot in RTL mixed with LTR text. Edit: FYI this is happening with full RTL text, if it has inlines -
|
What does the pull request do?
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Obsoletions / Deprecations
Fixed issues
Fixes: #14068
Fixes: #17888
Fixes: #17569