diff --git a/frontend/src/pages/monitor/[hostname].vue b/frontend/src/pages/monitor/[hostname].vue index a3b44ea..2105252 100644 --- a/frontend/src/pages/monitor/[hostname].vue +++ b/frontend/src/pages/monitor/[hostname].vue @@ -30,7 +30,9 @@ export default { this.lines = []; } this.lines.push(ansi_up.ansi_to_html(event.data) + "
"); - window.scrollTo(0, document.body.scrollHeight); + setTimeout(() => { + window.scrollTo(0, document.body.scrollHeight); + }, 100); }; }, },