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

fix(ios): hide dimming view #11263

Merged
merged 4 commits into from
Oct 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions iphone/Classes/TiUIListView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2115,6 +2115,7 @@ - (void)willDismissSearchController:(UISearchController *)searchController

- (void)didDismissSearchController:(UISearchController *)searchController
{
[self hideDimmingView];
self.searchString = @"";
[self buildResultsForSearchText];

Expand Down
1 change: 1 addition & 0 deletions iphone/Classes/TiUITableView.m
Original file line number Diff line number Diff line change
Expand Up @@ -2818,6 +2818,7 @@ - (void)didDismissSearchController:(UISearchController *)searchController
return;
}

[self hideDimmingView];
animateHide = YES;
[self performSelector:@selector(hideSearchScreen:) withObject:nil afterDelay:0.2];
// Since we clear the searchbar, the search string and indexes can be cleared as well.
Expand Down