Skip to content
3 changes: 3 additions & 0 deletions src/Toolkit/Toolkit.Maui/SearchView/SearchView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ private void PART_Entry_TextChanged(object? sender, TextChangedEventArgs e)
{
if (SearchViewModel != null)
{
//JH: Added for collapsing dialog when user starts typing in search
Copy link

Copilot AI Aug 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personal identifier comments ('JH:') should be removed from production code. Consider using a more descriptive comment that explains the business logic instead.

Suggested change
//JH: Added for collapsing dialog when user starts typing in search
// Collapse the source selection dialog when the user starts typing in the search box

Copilot uses AI. Check for mistakes.
_sourceSelectToggled = false;
UpdateVisibility();
SearchViewModel.CurrentQuery = e.NewTextValue;
}
}
Expand Down
Loading