Skip to content
New issue

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

Search - Leaving search field cancels search filter #197

Open
henrikweimenhog opened this issue Oct 2, 2013 · 1 comment
Open

Search - Leaving search field cancels search filter #197

henrikweimenhog opened this issue Oct 2, 2013 · 1 comment

Comments

@henrikweimenhog
Copy link

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 ();
}

@timrisi
Copy link
Contributor

timrisi commented Mar 5, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants