Hi Karthik,
Thank you so much for your reply. Sorry, I meant the issue is not with scrolling. The issue is with rendering the new messages that have HTML labels. I've found that the issue arises when we add messages to the list whether during initialing first set of messages or on a fly like for "load more". For example, I am currently implementing load more functionality where we add older messages when reaching the top. Please refer to below code that we use to insert older messages. For example, I have 20 older messages coming in, they would go through this loop to be inserted to the initial messages list. The problem is those messages do not display immediately, but instead there is some delay between each message. When I removed HTML label, this does not happen. Only happens on iOS as well. Please see the attracted video.
foreach (ChatMessage message in messages)
{
....
Message olderMessage = new Message
{
Author = messageUser,
DateTime = message.CreatedDateTime ?? DateTime.Now,
Text = message.Body
};
Messages.Insert(0, olderMessage);
}
Please advice. Thank you!Ben
Attachment:
Screen_Recording_20201211_at_11.58.19_AM.mov_4f17111e.zip