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 559c4c0 commit 4dbaef2Copy full SHA for 4dbaef2
package/src/components/MessageList/MessageList.tsx
@@ -382,6 +382,13 @@ const MessageListWithContext = <
382
const lastItem = viewableItems[viewableItems.length - 1];
383
384
if (lastItem) {
385
+ if (
386
+ !channel.state.messagePagination.hasPrev &&
387
+ processedMessageList[processedMessageList.length - 1].id === lastItem.item.id
388
+ ) {
389
+ setStickyHeaderDate(undefined);
390
+ return;
391
+ }
392
const isMessageTypeDeleted = lastItem.item.type === 'deleted';
393
394
if (
0 commit comments