diff --git a/src-ui/src/app/components/admin/logs/logs.component.ts b/src-ui/src/app/components/admin/logs/logs.component.ts index a838e8ff5..32f72c0c4 100644 --- a/src-ui/src/app/components/admin/logs/logs.component.ts +++ b/src-ui/src/app/components/admin/logs/logs.component.ts @@ -146,9 +146,7 @@ export class LogsComponent scrollToBottom(): void { this.changedetectorRef.detectChanges() if (this.logContainer) { - // AutoSizeVirtualScrollStrategy does not support scrollToIndex - const element = this.logContainer.elementRef.nativeElement - element.scrollTo({ top: element.scrollHeight }) + this.logContainer.scrollTo({ bottom: 0 }) } } }