sforkowany z mirror/soapbox
Update chat_message_list.js
rodzic
211163383e
commit
6aaba91379
|
@ -111,7 +111,7 @@ class ChatMessageList extends ImmutablePureComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
handleResize = throttle((e) => {
|
handleResize = throttle((e) => {
|
||||||
if (this.isNearBottom() && !this.state.loading) this.scrollToBottom();
|
if (this.isNearBottom()) this.scrollToBottom();
|
||||||
}, 150);
|
}, 150);
|
||||||
|
|
||||||
componentDidMount() {
|
componentDidMount() {
|
||||||
|
|
Ładowanie…
Reference in New Issue