From ea3e011d3fdbdf07a3ed7e835860a66a0cb84209 Mon Sep 17 00:00:00 2001 From: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Date: Thu, 17 Feb 2022 20:42:13 +0530 Subject: [PATCH] fix: Auto scroll to bottom when agent sends a message (#3764) --- .../dashboard/components/widgets/conversation/ReplyBox.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue index f7be9f917..e31e51fb3 100644 --- a/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue +++ b/app/javascript/dashboard/components/widgets/conversation/ReplyBox.vue @@ -479,7 +479,7 @@ export default { 'createPendingMessageAndSend', messagePayload ); - this.$emit(BUS_EVENTS.SCROLL_TO_MESSAGE); + bus.$emit(BUS_EVENTS.SCROLL_TO_MESSAGE); } catch (error) { const errorMessage = error?.response?.data?.error ||