Search - Leaving search field cancels search filter
henrikweimenhog opened this issue · comments
Cancelling a search should in my opinion only happen when tapping the X, not when leaving the search field or tapping something else on the screen.
The simple solution is to remove a line
public override void OnEditingStopped (UISearchBar searchBar)
{
searchBar.ShowsCancelButton = false;
// dont do this -> container.FinishSearch ();
}
What exactly are you looking for here? Do you have an easy repro for what you're talking about? When I do a search, it's only cancelling it when hitting the X, the cancel button, or when tapping through to a new screen from an element. I can tap outside of the search field and toggle switches, move sliders etc without the search being cancelled.