In chat conversation, hide keyboard when the action pop-up bubble (reply, transfer, etc) appears, and show keyboard when “reply’ is selected. This matches the usual behaviours of other messaging apps

This commit is contained in:
QuentinArguillere 2022-07-04 17:24:13 +02:00
parent e3ed160c54
commit 9ab70c60fe
2 changed files with 3 additions and 1 deletions

View file

@ -2186,6 +2186,7 @@ void on_shared_player_eof_reached(LinphonePlayer *p) {
_showReplyView = true;
[self updateFramesInclRecordingAndReplyView];
[self.tableController scrollToMessage:message];
[self.messageField becomeFirstResponder];
}
-(void) handlePendingTransferIfAny {

View file

@ -851,7 +851,8 @@ static const CGFloat REPLY_OR_FORWARD_TAG_HEIGHT = 18;
_messageActionsTitles = [[NSMutableArray alloc] init];
_messageActionsBlocks = [[NSMutableArray alloc] init];
_messageActionsIcons = [[NSMutableArray alloc] init];
[VIEW(ChatConversationView).messageField resignFirstResponder];
UIChatBubbleTextCell *thiz = self;
LinphoneChatMessageState state = linphone_chat_message_get_state(self.message);