Describe the bug
If a Token is selected (higlighted with blue) it will loose that focus and higlight if the AutoSuggestTextBox gets the focus.
But if the TokenizingTextBox looses its focus a selected Token will still retain its selected status and remains highlighted.
TokenizingTextBox.cs
private void TokenizingTextBoxItem_LostFocus(object sender, RoutedEventArgs e)
{
// Keep track of our currently focused textbox
[ ... ]
DeselectAllTokensAndText();
}
Adding the DeselectAllTokensAndText(); should fix that.
Steps to reproduce
- create a Token
- click on it
- click on a TextBox other than the TokenizingTextBox containng the Token
Expected behavior
All Tokens should be unfocused too if the TokenizingTextBox looses its focus.
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, but only if others can assist.
Describe the bug
If a Token is selected (higlighted with blue) it will loose that focus and higlight if the
AutoSuggestTextBoxgets the focus.But if the TokenizingTextBox looses its focus a selected Token will still retain its selected status and remains highlighted.
TokenizingTextBox.cs
Adding the
DeselectAllTokensAndText();should fix that.Steps to reproduce
Expected behavior
All Tokens should be unfocused too if the
TokenizingTextBoxlooses its focus.Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, but only if others can assist.