We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b79b8ea commit 9e37344Copy full SHA for 9e37344
Source/SLKTextViewController.m
@@ -904,20 +904,16 @@ - (void)dismissTextInputbar:(BOOL)animated
904
905
weakSelf.keyboardHC.constant = 0.0;
906
weakSelf.scrollViewHC.constant = [weakSelf slk_appropriateScrollViewHeight];
907
+ [weakSelf slk_hideAutoCompletionViewIfNeeded];
908
909
[weakSelf.view layoutIfNeeded];
910
};
911
- void (^completion)(BOOL finished) = ^void(BOOL finished){
912
- [weakSelf slk_hideAutoCompletionViewIfNeeded];
913
- };
914
-
915
if (animated) {
916
- [UIView animateWithDuration:0.25 animations:animations completion:completion];
+ [UIView animateWithDuration:0.25 animations:animations completion:nil];
917
}
918
else {
919
animations();
920
- completion(NO);
921
922
923
0 commit comments