1
0
Timothy Jaeryang Baek 3 долоо хоног өмнө
parent
commit
f68d11ec52

+ 4 - 1
src/lib/components/layout/Sidebar/ChatItem.svelte

@@ -263,7 +263,10 @@
 
 		setTimeout(() => {
 			const input = document.getElementById(`chat-title-input-${id}`);
-			if (input) input.focus();
+			if (input) {
+				input.focus();
+				input.select();
+			}
 		}, 0);
 	};