1
0
Timothy Jaeryang Baek 4 сар өмнө
parent
commit
0a1ff4a8fa

+ 4 - 0
src/lib/components/chat/Chat.svelte

@@ -302,6 +302,10 @@
 					message.files = data.files;
 				} else if (type === 'chat:message:follow_ups') {
 					message.followUps = data.follow_ups;
+
+					if (autoScroll) {
+						scrollToBottom();
+					}
 				} else if (type === 'chat:title') {
 					chatTitle.set(data);
 					currentChatPage.set(1);