Dismiss keyboard when additional menu shown

This commit is contained in:
ismailgulek
2022-01-18 02:27:44 +03:00
parent c00037591c
commit 7af7bd12e7
+1
View File
@@ -3890,6 +3890,7 @@ const NSTimeInterval kResizeComposerAnimationDuration = .05;
[actionsMenu mxk_setAccessibilityIdentifier:@"RoomVCEventMenuAlert"];
[actionsMenu popoverPresentationController].sourceView = roomBubbleTableViewCell;
[actionsMenu popoverPresentationController].sourceRect = sourceRect;
[self dismissKeyboard];
[self presentViewController:actionsMenu animated:animated completion:nil];
currentAlert = actionsMenu;
}