kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Don't do scrollToBottom if we're loading.
rodzic
5deac9f5e0
commit
3a38eed5ba
|
@ -111,7 +111,7 @@ class ChatMessageList extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleResize = throttle((e) => {
|
handleResize = throttle((e) => {
|
||||||
if (this.isNearBottom()) this.scrollToBottom();
|
if (this.isNearBottom() && !this.state.loading) this.scrollToBottom();
|
||||||
}, 150);
|
}, 150);
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Ładowanie…
Reference in New Issue