diff --git a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue index 0b054b486..93c47ebf6 100644 --- a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue +++ b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue @@ -112,7 +112,7 @@ :conversation-id="currentChat.id" :is-a-tweet="isATweet" :selected-tweet="selectedTweet" - :popout-reply-box="isPopoutReplyBox" + :popout-reply-box.sync="isPopoutReplyBox" @click="showPopoutReplyBox" @scrollToMessage="scrollToBottom" /> diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index 03ed5d260..d2e27184e 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -378,6 +378,7 @@ export default { this.showAlert(errorMessage); } this.hideEmojiPicker(); + this.$emit('update:popoutReplyBox', false); } }, replaceText(message) {