Skip to content

Commit

Permalink
fix(ios): hide dimming view (#11264)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijaysingh-axway authored and ssaddique committed Oct 9, 2019
1 parent 8767147 commit 4c07280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
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

0 comments on commit 4c07280

Please sign in to comment.