diff --git a/packages/console/src/Console.tsx b/packages/console/src/Console.tsx index ae6ffec53a..69771acc2a 100644 --- a/packages/console/src/Console.tsx +++ b/packages/console/src/Console.tsx @@ -377,6 +377,7 @@ export class Console extends PureComponent { return; } + this.scrollConsoleHistoryToBottom(); this.updateHistory(result, newHistoryItem); this.updateKnownObjects(newHistoryItem); this.updateWorkspaceHistoryItem( @@ -649,7 +650,7 @@ export class Console extends PureComponent { } window.requestAnimationFrame(() => { - pane.scrollTop = pane.scrollHeight; + pane.scrollTo({ top: pane.scrollHeight }); }); }