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

Text selection only works when positioned exactly at the beginning of the text #477

Open
GLEB-M opened this issue Dec 17, 2024 · 0 comments

Comments

@GLEB-M
Copy link

GLEB-M commented Dec 17, 2024

Text selection works only with precise positioning to the beginning of the text. Even if there are paddings. This causes some inconvenience.

<SelectableTextBlock Text="Hello SelectableTextBlock" Margin="20" Padding="20 0 20 0" Background="Wheat" Width="250"/>
<AvaloniaEdit:TextEditor Text="Hello AvaloniaEdit" Margin="20" Padding="20 0 20 0" Background="Wheat" Width="250"/>

In SelectableTextBlock it works fine

2024-12-17.14-27-14.mp4
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