From 343e76a13df3d0b669bd6ee3b9d3aa8a63df1303 Mon Sep 17 00:00:00 2001 From: manuroe Date: Fri, 14 Jun 2019 16:28:21 +0200 Subject: [PATCH] Menu actions: Display the keyboard once the users tap on reply or edit This also fixes the local echo issues we had when this screen stayed displayed --- Riot/Modules/Room/RoomViewController.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Riot/Modules/Room/RoomViewController.m b/Riot/Modules/Room/RoomViewController.m index 66a61219b..590f8360f 100644 --- a/Riot/Modules/Room/RoomViewController.m +++ b/Riot/Modules/Room/RoomViewController.m @@ -5112,6 +5112,9 @@ [self hideContextualMenuAnimated:YES cancelEventSelection:NO completion:nil]; [self selectEventWithId:eventId inputToolBarSendMode:RoomInputToolbarViewSendModeReply showTimestamp:NO]; + + // And display the keyboard + [self.inputToolbarView becomeFirstResponder]; }; // Edit action @@ -5121,6 +5124,9 @@ MXStrongifyAndReturnIfNil(self); [self hideContextualMenuAnimated:YES cancelEventSelection:NO completion:nil]; [self editEventContentWithId:eventId]; + + // And display the keyboard + [self.inputToolbarView becomeFirstResponder]; }; editMenuItem.isEnabled = [self.roomDataSource canEditEventWithId:eventId];