We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a Token is selected (higlighted with blue) it will loose that focus and higlight if the AutoSuggestTextBox gets the focus.
AutoSuggestTextBox
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.
DeselectAllTokensAndText();
- create a Token - click on it - click on a TextBox other than the TokenizingTextBox containng the Token
All Tokens should be unfocused too if the TokenizingTextBox looses its focus.
TokenizingTextBox
No response
Yes, but only if others can assist.
The text was updated successfully, but these errors were encountered:
fix TokenizingTextBox does not unselect all Tokens on LostFocus
335d232
CommunityToolkit#258
No branches or pull requests
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
Adding the
DeselectAllTokensAndText();
should fix that.Steps to reproduce
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.
The text was updated successfully, but these errors were encountered: