From bfca2bdf734c9b9522186c1ff1b6479f93f34658 Mon Sep 17 00:00:00 2001 From: retoor Date: Sun, 9 Feb 2025 13:07:38 +0100 Subject: [PATCH] So smooth. --- src/snek/templates/web.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/snek/templates/web.html b/src/snek/templates/web.html index 01c5506..8df9992 100644 --- a/src/snek/templates/web.html +++ b/src/snek/templates/web.html @@ -79,6 +79,9 @@ message.innerHTML = data.html; document.querySelector(".chat-messages").appendChild(message.firstChild); updateLayout(); + setTimeout(()=>{ + updateLayout() + },200) }); initInputField(document.querySelector("textarea"));