Skip to content

Commit

Permalink
Revert "Fix TextBlock wrong caret position (#14627)" (#14952)
Browse files Browse the repository at this point in the history
This reverts commit cde90cc.
  • Loading branch information
Gillibald authored Mar 13, 2024
1 parent fb632f0 commit 9e89533
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Avalonia.Controls/TextBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -923,8 +923,6 @@ protected override void OnPropertyChanged(AvaloniaPropertyChangedEventArgs chang
}
else if (change.Property == SelectionEndProperty)
{
_presenter?.MoveCaretToTextPosition(CaretIndex);

OnSelectionEndChanged(change);
}
else if (change.Property == MaxLinesProperty)
Expand Down

0 comments on commit 9e89533

Please sign in to comment.