You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bug described in issue #11390 for TextBox is still present for the SelectableTextBlock.
To Reproduce
Double click to select a word. Then a single click on that word does not reset the selection.
Expected behavior
The selection should be reset during the single click.
Avalonia version
11.0.10
OS
Windows
Additional context
It was fixed for TextBox by #11294. Specifically, I believe the problem lies in the OnPointerPressed method. The statement here in "SelectableTextBlock.cs" was removed from "TextBox.cs":
That PR contains some other changes to the word selection code that didn't make it through to "SelectableTextBlock.cs". I don't know if any of that is relevant or just refactoring.
The text was updated successfully, but these errors were encountered:
Describe the bug
The bug described in issue #11390 for
TextBox
is still present for theSelectableTextBlock
.To Reproduce
Double click to select a word. Then a single click on that word does not reset the selection.
Expected behavior
The selection should be reset during the single click.
Avalonia version
11.0.10
OS
Windows
Additional context
It was fixed for
TextBox
by #11294. Specifically, I believe the problem lies in theOnPointerPressed
method. The statement here in "SelectableTextBlock.cs" was removed from "TextBox.cs":Avalonia/src/Avalonia.Controls/SelectableTextBlock.cs
Line 350 in 40c5d34
That PR contains some other changes to the word selection code that didn't make it through to "SelectableTextBlock.cs". I don't know if any of that is relevant or just refactoring.
The text was updated successfully, but these errors were encountered: