대화 검색시 위치값 조정.

This commit is contained in:
leejinho 2020-01-21 17:48:37 +09:00
parent 3ffe4b2746
commit 3e27af3243

View File

@ -484,7 +484,7 @@ export class MessagesComponent implements OnInit, OnDestroy {
gotoPosition(eventSeq: number) { gotoPosition(eventSeq: number) {
if (!!this.virtualScroller) { if (!!this.virtualScroller) {
const e = this.eventList.find(v => v.seq === eventSeq); const e = this.eventList.find(v => v.seq === eventSeq);
this.virtualScroller.scrollInto(e, false, undefined, 0, () => {}); this.virtualScroller.scrollInto(e, true, 0, 0, () => {});
} }
} }