Skip to content

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

Open
@GLEB-M

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions