diff --git a/spx-gui/src/components/editor/panels/ConsolePanel.vue b/spx-gui/src/components/editor/panels/ConsolePanel.vue index 6ca5f7b4b..bcf453d50 100644 --- a/spx-gui/src/components/editor/panels/ConsolePanel.vue +++ b/spx-gui/src/components/editor/panels/ConsolePanel.vue @@ -17,7 +17,7 @@ let isScrolledToBottom = true const handleScroll = throttle((e: Event) => { const el = e.target as HTMLElement - isScrolledToBottom = el.scrollHeight - el.scrollTop === el.clientHeight + isScrolledToBottom = el.scrollHeight < el.scrollTop + el.clientHeight + 1 }, 50) function handleOutput(outputEl: unknown, i: number) {