We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3562681 commit 1d5bbd3Copy full SHA for 1d5bbd3
package/src/components/MessageList/MessageList.tsx
@@ -436,6 +436,9 @@ const MessageListWithContext = (props: MessageListPropsWithContext) => {
436
// we need this check to make sure that regular list change do not trigger
437
// the unread notification to appear (for example if the old last read messages
438
// go out of the viewport).
439
+ if (processedMessageList.length !== messagesLength.current) {
440
+ return;
441
+ }
442
messagesLength.current = processedMessageList.length;
443
444
if (!viewableItems.length) {
0 commit comments