chat: only scrolltobottom if first backlog grab
@@ -79,11 +79,13 @@ export class ChatScreen extends Component {
40
) {
this.hasAskedForMessages = false;
+ if (prevProps.envelopes.length <= 20) {
this.setState({ scrollLocked: false }, () => {
this.scrollToBottom();
})
}
}
+ }
updateReadNumber() {
const { props, state } = this;
