diff --git a/app/js/directives.js b/app/js/directives.js index 586a0a36..a83978de 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -1582,6 +1582,8 @@ angular.module('myApp.directives', ['myApp.filters']) $(submitBtn).on('mousedown touchstart', onMessageSubmit) function onMessageSubmit (e) { + var self = this + $timeout(function () { updateValue() $scope.draftMessage.send() @@ -1589,6 +1591,8 @@ angular.module('myApp.directives', ['myApp.filters']) if (composerEmojiPanel) { composerEmojiPanel.update() } + + self.hideSuggestions() }, shouldFocusOnInteraction ? 0 : 100) return cancelEvent(e) }