diff --git a/public/js/ui-display-handler-module.js b/public/js/ui-display-handler-module.js index f72ec51..ff623c8 100644 --- a/public/js/ui-display-handler-module.js +++ b/public/js/ui-display-handler-module.js @@ -1514,6 +1514,11 @@ class UIDisplayHandlerModule extends BaseModule { const bounds = await this.getWindowBoundsForTraversal(previousLine, targetLine, latest); if (!bounds) return; + if (options.mode === 'append-live' && this.getRenderedBlockForLine(targetLine)) { + this.activeCenterBlockId = bounds.targetBlockId; + this.updateStoryScrollbar(); + return; + } const currentWindowCoversBounds = bounds.start >= this.historyWindowStartId && bounds.end <= this.historyWindowEndId; const exactWindowAlreadyLoaded = bounds.start === this.historyWindowStartId && bounds.end === this.historyWindowEndId;