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"));