Dismiss keyboard when additional menu shown

This commit is contained in:
ismailgulek
2022-01-18 02:27:44 +03:00
parent 4e95ae35ed
commit 080bcf2daa
+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;
}