From a252bd53cac4412f12cabc239cfc1c963f07a4d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20V=C3=B6lkel?= <konrad.voelkel@hhu.de> Date: Fri, 28 Feb 2025 17:36:35 +0100 Subject: [PATCH] autoscroll deactivated (didn't work as expected in Chrome) --- modules/ui.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/ui.js b/modules/ui.js index 32d7305..c823d0c 100644 --- a/modules/ui.js +++ b/modules/ui.js @@ -55,9 +55,6 @@ export function appendMessage(content, className, linkId = null, akkordeonId = n messageContainer.parentNode.insertBefore(answerContainer, messageContainer.nextSibling); panelDiv.classList.add('active'); - setTimeout(() => { - answerContainer.scrollIntoView({ behavior: 'smooth', block: 'start' }); - }, 250); } -- GitLab