Closed nvllz closed 2 months ago
Thank you for the report. Firstly, that is not device issue, just reproduced on different Android version and device.
About the bug. It seems to be internal issue with SelectionContainer, sadly I have no access to text selection, meaning I cannot really change anything. When using "Justify" text alignment, I also use internal TextAlign parameter, of course, I also do not have any control over it. Sadly, not fixable without manual intervention, which will probably result in performance issues.
From my perspective, SelectionContainer sees the text in alignment that is before "Justifying", which is plain text aligned at the start, then the text itself alignes to match "Justify" and SelectionContainer cannot recognize that.
Describe the bug I face issues with proper word highlighting while Text alignment set to Justify. It works correctly with other alignment options.
Screenshots (optional)
https://github.com/user-attachments/assets/54be436b-2a32-4743-96f2-8724e5c0aa71
Device Info (please complete the following information):
Additional context (optional) It seems to be a visual bug as sharing to a translation app results in sharing desired word, while selection is not aligned properly.