bugfix chat scroll down
This commit is contained in:
parent
cc9377290f
commit
ed94373573
1 changed files with 3 additions and 1 deletions
|
|
@ -50,7 +50,9 @@ export class ChatContentComponent implements AfterViewInit {
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
ngAfterViewInit() {
|
ngAfterViewInit() {
|
||||||
|
setTimeout(() => {
|
||||||
this.scrollToBottom();
|
this.scrollToBottom();
|
||||||
|
}, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue