mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 17:59:46 +00:00
Made scrolling smooth to fix issues resulting from scrolling to bottom
This commit is contained in:
parent
4216a29325
commit
ebbf0a7c95
@ -24,5 +24,5 @@ window.clearDiv = function (divName) {
|
||||
}
|
||||
|
||||
window.scrollToBottom = function(element) {
|
||||
element.scrollIntoView();
|
||||
element.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });
|
||||
}
|
Loading…
Reference in New Issue
Block a user