대화 검색시 위치값 조정.
This commit is contained in:
parent
3ffe4b2746
commit
3e27af3243
|
@ -484,7 +484,7 @@ export class MessagesComponent implements OnInit, OnDestroy {
|
|||
gotoPosition(eventSeq: number) {
|
||||
if (!!this.virtualScroller) {
|
||||
const e = this.eventList.find(v => v.seq === eventSeq);
|
||||
this.virtualScroller.scrollInto(e, false, undefined, 0, () => {});
|
||||
this.virtualScroller.scrollInto(e, true, 0, 0, () => {});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user