From ebbf0a7c95801d7919a7f67197807db9adfd2e80 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 5 Sep 2024 19:32:36 +0200 Subject: [PATCH] Made scrolling smooth to fix issues resulting from scrolling to bottom --- app/MindWork AI Studio/wwwroot/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/wwwroot/app.js b/app/MindWork AI Studio/wwwroot/app.js index 42b43f04..04267db0 100644 --- a/app/MindWork AI Studio/wwwroot/app.js +++ b/app/MindWork AI Studio/wwwroot/app.js @@ -24,5 +24,5 @@ window.clearDiv = function (divName) { } window.scrollToBottom = function(element) { - element.scrollIntoView(); + element.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' }); } \ No newline at end of file