bug: Fixes expanded reply box is not closing after the message is sent (#3537)

This commit is contained in:
Sivin Varghese 2021-12-13 12:37:21 +05:30 committed by GitHub
parent c2519ea1ea
commit 178cb34319
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -112,7 +112,7 @@
:conversation-id="currentChat.id" :conversation-id="currentChat.id"
:is-a-tweet="isATweet" :is-a-tweet="isATweet"
:selected-tweet="selectedTweet" :selected-tweet="selectedTweet"
:popout-reply-box="isPopoutReplyBox" :popout-reply-box.sync="isPopoutReplyBox"
@click="showPopoutReplyBox" @click="showPopoutReplyBox"
@scrollToMessage="scrollToBottom" @scrollToMessage="scrollToBottom"
/> />

View file

@ -378,6 +378,7 @@ export default {
this.showAlert(errorMessage); this.showAlert(errorMessage);
} }
this.hideEmojiPicker(); this.hideEmojiPicker();
this.$emit('update:popoutReplyBox', false);
} }
}, },
replaceText(message) { replaceText(message) {