We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfChat chat page lags when scrolling

The chat page lags when scrolling. Is there any way to mitigate this? I am also using Prism library for its MVVM implementation. Not sure if this is a factor. Below is the snippet of the xaml code.

sfChat:SfChat x:Name="sfChat"

   Messages="{Binding Messages}"

   CurrentUser="{Binding CurrentUser}"

   ShowTimeBreak="True"

                   ShowIncomingMessageTimestamp="True"

                   ShowOutgoingMessageTimestamp="True"

                   IncomingMessageTimestampFormat="hh:mm tt"

                   OutgoingMessageTimestampFormat="hh:mm tt"

   MessageShape="RoundedRectangle"

   ShowAttachmentButton="True"

   AttachmentButtonCommand="{Binding AttachmentButtonCommand}"

   SendMessageCommand="{Binding SendTextMessageCommand}"

   ImageTappedCommand="{Binding ViewImageCommand}"

   CanAutoScrollToBottom="True"

   ShowOutgoingMessageAvatar="True"

   >


</sfChat:SfChat>







1 Reply

SV Suja Venkatesan Syncfusion Team November 3, 2022 05:50 AM

We would like to let you know that in SfChat,  SfListView is used as internal component. Usually, the performance lagging will be occurred on scrolling in SfListView, when loading the custom template with high resolution image. Could you please more details regarding which type of messages you have loaded to SfChat with any illustration image or video? It will be more helpdul for us to provide a timely solution.


Loader.
Live Chat Icon For mobile
Up arrow icon