We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fed0ec2 commit 4858fbcCopy full SHA for 4858fbc
package/src/components/MessageList/MessageList.tsx
@@ -593,9 +593,10 @@ const MessageListWithContext = (props: MessageListPropsWithContext) => {
593
}
594
595
if (
596
- topMessageBeforeUpdate.current?.created_at &&
597
- topMessageAfterUpdate?.created_at &&
598
- topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at
+ isMessageRemovedFromMessageList ||
+ (topMessageBeforeUpdate.current?.created_at &&
+ topMessageAfterUpdate?.created_at &&
599
+ topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at)
600
) {
601
channelResyncScrollSet.current = false;
602
setScrollToBottomButtonVisible(false);
0 commit comments