From 211163383e614178d15a771b0d799d2a10e84fc9 Mon Sep 17 00:00:00 2001 From: Sean King Date: Thu, 8 Oct 2020 19:14:39 -0600 Subject: [PATCH] Don't throttle const isNearBottom --- app/soapbox/features/chats/components/chat_message_list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/chats/components/chat_message_list.js b/app/soapbox/features/chats/components/chat_message_list.js index 41ccfcaa1..d69562239 100644 --- a/app/soapbox/features/chats/components/chat_message_list.js +++ b/app/soapbox/features/chats/components/chat_message_list.js @@ -137,7 +137,7 @@ class ChatMessageList extends ImmutablePureComponent { const { initialLoad } = this.state; const oldCount = prevProps.chatMessages.count(); const newCount = this.props.chatMessages.count(); - const isNearBottom = throttle(this.isNearBottom(), 150); + const isNearBottom = this.isNearBottom(); const historyAdded = prevProps.chatMessages.getIn([0, 'id']) !== this.props.chatMessages.getIn([0, 'id']); // Retain scroll bar position when loading old messages