Seach-key dismisses keyboard (IOS-141)
This commit is contained in:
parent
ed5a0f3abc
commit
cde28f576c
|
@ -248,6 +248,10 @@ extension SearchDetailViewController: UISearchBarDelegate {
|
|||
searchResultsOverviewViewController.searchForSuggestions(for: trimmedSearchText)
|
||||
}
|
||||
|
||||
func searchBarSearchButtonClicked(_ searchBar: UISearchBar) {
|
||||
searchBar.resignFirstResponder()
|
||||
}
|
||||
|
||||
func searchBarCancelButtonClicked(_ searchBar: UISearchBar) {
|
||||
// dismiss or pop
|
||||
if isModal {
|
||||
|
|
Loading…
Reference in New Issue