Browse Source

chore: remove unecessary event as messages list watcher will handle scrolling in case of reaction added.

Signed-off-by: DorraJaouad <dorra.jaoued7@gmail.com>
pull/11872/head
DorraJaouad 2 years ago
parent
commit
10a7ace86e
  1. 7
      src/components/MessagesList/MessagesGroup/Message/Message.vue

7
src/components/MessagesList/MessagesGroup/Message/Message.vue

@ -450,13 +450,6 @@ export default {
},
},
watch: {
// Scroll list to the bottom if reaction to the message was added, as it expands the list
reactions() {
EventBus.$emit('scroll-chat-to-bottom')
},
},
methods: {
lastReadMessageVisibilityChanged(isVisible) {
if (isVisible) {

Loading…
Cancel
Save