Workaround for not ending up at bottom of conversation

This commit is contained in:
Scott Nonnenberg 2018-07-26 19:36:21 -07:00
parent 8860e4c7fb
commit d51b2b48d1

View file

@ -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);
}
},