Browse Source

fix: scroll to bottom button

Timothy J. Baek 1 year ago
parent
commit
5ad9488efa
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/routes/+page.svelte

+ 1 - 0
src/routes/+page.svelte

@@ -259,6 +259,7 @@
 	const createNewChat = async (init = false) => {
 		if (init || messages.length > 0) {
 			chatId = uuidv4();
+			autoScroll = true;
 			messages = [];
 			title = '';