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
If a textbox get focus by clicking then selected text is deselected.
To Reproduce
mybox.GotFocus = (_, _) => mybox.SelectAll();
Expected behavior
With the code above mybox should whenever it get focus select all text which it does. However it seems that when it get's focus from a pointer event it deselects all text and it does that after the focus event code has been run.
Avalonia version
11.1.3
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
If a textbox get focus by clicking then selected text is deselected.
To Reproduce
mybox.GotFocus = (_, _) => mybox.SelectAll();
Expected behavior
With the code above mybox should whenever it get focus select all text which it does. However it seems that when it get's focus from a pointer event it deselects all text and it does that after the focus event code has been run.
Avalonia version
11.1.3
OS
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: