bug fixed

This commit is contained in:
richard-loafle 2020-02-10 17:21:43 +09:00
parent 4fb85a9dc1
commit 3f4d863001
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@
<div
*ngIf="eventRemained && !!eventList && eventList.length > 0"
class="message-row view-previous"
[class.hide]="!initalized"
[class.hide]="!scrollUpInitalized"
>
<button mat-button (click)="onClickMore($event)" class="bg-accent-dark">
<svg

View File

@ -668,6 +668,7 @@ export class MessagesComponent implements OnInit, OnDestroy {
}
this.scrollUpInitalized = true;
this.scrollUp.emit(event);
this.changeDetectorRef.detectChanges();
}
onYReachStart(event: any) {
this.yReachStart.emit(event);