Emoji and numeric keyboards are shown when tap on /send while emojis are opened (#1056)

This commit is contained in:
alwx 2017-04-20 17:27:31 +03:00 committed by Roman Volosovskyi
parent c689ab2feb
commit e34d9fbc49
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@
:placeholder placeholder
:blur-on-submit false
:editable (not @sending-in-progress?)
:on-focus #(dispatch [:set-chat-ui-props :show-emoji? false])
:on-submit-editing (fn []
(when-not (str/blank? @seq-arg-input-text)
(dispatch [:send-seq-argument]))