Workaround for not ending up at bottom of conversation
This commit is contained in:
parent
8860e4c7fb
commit
d51b2b48d1
1 changed files with 4 additions and 0 deletions
|
@ -747,6 +747,10 @@
|
|||
this.addScrollDownButtonWithCount(unreadCount);
|
||||
}
|
||||
}, 1);
|
||||
} else if (this.view.atBottom()) {
|
||||
// If we already thought we were at the bottom, then ensure that's the case.
|
||||
// Attempting to account for unpredictable completion of message rendering.
|
||||
setTimeout(() => this.view.scrollToBottom(), 1);
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue