[Problem/Question]
When I am using the startingPoint Prop of Sendbird so in some of the dates not specifically on the selected one it may be below date messages are missing. We are not able to see those messages when using the starting point in Group Channel of Sendbird uikit v3.
// If problem, please fill out the below. If question, please delete.
[UIKit Version]
Uikit React V3
[Reproduction Steps]
Just pass the starting point prop in miliseconds and check the above or below messages.
In my example screenAll time is 6 months old date and Today has today date whatever today date is and manually scrolling to upward so coming correct messages but after startingPoint auto scroll the messages will be missed.
[Frequency]
// How frequently is this issue occurring?
This issue is occuring every time.
[Current impact]
// How is this currently impacting your implementation?
I have implemented the date filter that is based on this startingPoint Prop but this is not working properly and missing some messages that is not the ideal behaviour for user because the messages can be important that is missing because of this.
Hi @Uzair_Nadeem,
Could you please specify the exact value you are trying to pass to the starting point parameter? Additionally, sharing the code logic surrounding MessageCollection() would be helpful for our investigation.
Link: Message collection | Chat JavaScript SDK | Sendbird Docs
Hey Sudirtha_Ayyappan,
I have not used the message Collection instead we have used the Group Channel Component,This is the timestamp i have passed 1747310400000 in messageListQueryParams like this
const messageQueryFilters = useMemo(() => {
return { ...messageListQueryParams,
startingPoint: messageTimeStamp,
replyType: ReplyType.NONE };
}, [messageListQueryParams, messageTimeStamp]);
Also we have used the replyType as None but the missing messageswere does not have the replies.
This is the way we are giving the timestamp to GroupChannel also we have checked using the same prop of Group channel not from params but i got the same result.Ans timestamp we are storing in a state.
<GroupChannel
key={ \`${channelUrl}-${filterState.messageType.value}-${messageTimeStamp}\` }
forceLeftToRightMessageLayout
isMessageGroupingEnabled
isReactionEnabled
showSearchIcon
animatedMessageId={ selectedMessage }
channelUrl={ channelUrl }
messageListQueryParams={ messageQueryFilters }