Awesome answer.
There’s another way to do this:
this.intervalId = setInterval( () => {
this.fetchMessages();
this.scrollAdjust();
}, 1000);
// ...
scrollAdjust(){
if(this.shouldScrollDown){
this.content.scrollToBottom(0);
this.shouldScrollDown = false;
}
}
Maybe we should close this topic and continue here: