Skip to content

In Windows, for multi-line text in a TextBox, you need to backspace twice to delete line breaks. #20072

@Linlccc

Description

@Linlccc

Describe the bug

As the title suggests

To Reproduce

<TextBox AcceptsReturn="True" Height="100" />

  1. Enter a multi-line text in the text box.
  2. Press backspace at the beginning of the second line (requires two presses).

Expected behavior

Deleting a newline only requires one backspace.

Avalonia version

11.3.8

OS

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions