From 80f9d018f2c7a2534adc6236ed2bab0d0cf2d2c0 Mon Sep 17 00:00:00 2001 From: Alexander McCormmach <15781+acmcc@users.noreply.github.com> Date: Mon, 6 Nov 2017 18:55:05 -0500 Subject: [PATCH] chat: hide emoji keyboard when tapping inside chat --- src/status_im/chat/views/message/message.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/chat/views/message/message.cljs b/src/status_im/chat/views/message/message.cljs index 80ce2f85ac..1b4ceb305e 100644 --- a/src/status_im/chat/views/message/message.cljs +++ b/src/status_im/chat/views/message/message.cljs @@ -390,7 +390,10 @@ :reagent-render (fn [{:keys [outgoing group-chat content-type content] :as message}] [message-container message - [touchable-highlight {:on-press #(when platform/ios? (dismiss-keyboard!)) + [touchable-highlight {:on-press #(when platform/ios? + (dispatch [:set-chat-ui-props + {:show-emoji? false}]) + (dismiss-keyboard!)) :on-long-press #(cond (= content-type text-content-type) (share content (label :t/message)) (and (= content-type content-type-command) (= "location" (:content-command content)))