mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-16 08:33:48 +00:00
Fix scrolling issue for long chats (#119)
This commit is contained in:
1 parent
4216a29325
commit
6fbf32d8a2
2 files changed
+3
-1
No files matched your search
@@ -24,5 +24,5 @@ window.clearDiv = function (divName) {
|
||||
}
|
||||
|
||||
window.scrollToBottom = function(element) {
|
||||
element.scrollIntoView();
|
||||
element.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
|
||||
}
|
||||
Reference in new issue
Block a user