From af2135363441d37cceb4a8aca8db4afebd84c2c0 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Thu, 3 Mar 2022 07:52:31 +0100 Subject: [PATCH] fix: Emojipicker issues --- lib/pages/chat/chat.dart | 1 + lib/pages/chat/chat_view.dart | 3 +++ 2 files changed, 4 insertions(+) diff --git a/lib/pages/chat/chat.dart b/lib/pages/chat/chat.dart index 918c17e6..515b3ec4 100644 --- a/lib/pages/chat/chat.dart +++ b/lib/pages/chat/chat.dart @@ -688,6 +688,7 @@ class ChatController extends State { break; case EmojiPickerType.keyboard: typeEmoji(emoji); + onInputBarChanged(sendController.text); break; } } diff --git a/lib/pages/chat/chat_view.dart b/lib/pages/chat/chat_view.dart index d2939e37..0d33baf0 100644 --- a/lib/pages/chat/chat_view.dart +++ b/lib/pages/chat/chat_view.dart @@ -155,6 +155,9 @@ class ChatView extends StatelessWidget { if (controller.selectedEvents.isNotEmpty) { controller.clearSelectedEvents(); redirector.stopRedirection(); + } else if (controller.showEmojiPicker) { + controller.emojiPickerAction(); + redirector.stopRedirection(); } }, child: GestureDetector(