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 83018b7 commit e816b9bCopy full SHA for e816b9b
package/src/components/MessageList/MessageList.tsx
@@ -592,9 +592,10 @@ const MessageListWithContext = (props: MessageListPropsWithContext) => {
592
}
593
594
if (
595
- topMessageBeforeUpdate.current?.created_at &&
596
- topMessageAfterUpdate?.created_at &&
597
- topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at
+ isMessageRemovedFromMessageList ||
+ (topMessageBeforeUpdate.current?.created_at &&
+ topMessageAfterUpdate?.created_at &&
598
+ topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at)
599
) {
600
channelResyncScrollSet.current = false;
601
setScrollToBottomButtonVisible(false);
0 commit comments