diff --git a/app/soapbox/features/chats/components/chat_message_list.js b/app/soapbox/features/chats/components/chat_message_list.js index c969566fe..b51915ae6 100644 --- a/app/soapbox/features/chats/components/chat_message_list.js +++ b/app/soapbox/features/chats/components/chat_message_list.js @@ -110,9 +110,9 @@ class ChatMessageList extends ImmutablePureComponent { return scrollBottom < elem.offsetHeight * 1.5; } - handleResize = (e) => { + handleResize = throttle((e) => { if (this.isNearBottom()) this.scrollToBottom(); - } + }, 150); componentDidMount() { const { dispatch, chatId } = this.props;