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 015eb37 commit 5da09e3Copy full SHA for 5da09e3
package/src/components/MessageList/MessageFlashList.tsx
@@ -468,7 +468,12 @@ const MessageFlashListWithContext = (props: MessageFlashListPropsWithContext) =>
468
return;
469
}
470
471
- if (isMessageRemovedFromMessageList) {
+ if (
472
+ isMessageRemovedFromMessageList ||
473
+ (topMessageBeforeUpdate.current?.created_at &&
474
+ topMessageAfterUpdate?.created_at &&
475
+ topMessageBeforeUpdate.current.created_at < topMessageAfterUpdate.created_at)
476
+ ) {
477
channelResyncScrollSet.current = false;
478
setScrollToBottomButtonVisible(false);
479
resetPaginationTrackersRef.current();
0 commit comments