mirror of
https://github.com/unraid/webgui.git
synced 2026-01-07 10:10:05 -06:00
Add smooth scroll behavior.
This commit is contained in:
@@ -110,6 +110,7 @@ function showLog(log) {
|
||||
|
||||
/* Ensuring reliable scroll behavior on Chrome */
|
||||
function scrollToBottom() {
|
||||
logContainer.style.scrollBehavior = 'smooth';
|
||||
logContainer.scrollTop = logContainer.scrollHeight;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user