diff --git a/src/platform/web/ui/session/room/TimelineView.ts b/src/platform/web/ui/session/room/TimelineView.ts index 9c12d8d4..61fbca08 100644 --- a/src/platform/web/ui/session/room/TimelineView.ts +++ b/src/platform/web/ui/session/room/TimelineView.ts @@ -143,7 +143,7 @@ export class TimelineView extends TemplateView { const tiles = this.tilesView!.root() as HTMLElement; let bottomNodeIndex; - this.stickToBottom = Math.abs(scrollHeight - (scrollTop + clientHeight)) < 5; + this.stickToBottom = Math.abs(scrollHeight - (scrollTop + clientHeight)) < 1; if (this.stickToBottom) { const len = this.value.tiles.length; bottomNodeIndex = len - 1;