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
close icon

SfChat chats does not automatically scroll to the bottom

Chat page does not automatically scroll to bottom despite CanAutoScrollToBottom is set to true. It only scrolls midway. It goes scrolls to the bottom only when the text message input is pressed. Is there any way to fix this? Below is the xaml code snippet

<sfChat:SfChat x:Name="sfChat"
   Messages="{Binding Messages}"
   CurrentUser="{Binding CurrentUser}"
                   IncomingMessageTimestampFormat="hh:mm tt"
                   OutgoingMessageTimestampFormat="hh:mm tt"
   AttachmentButtonCommand="{Binding AttachmentButtonCommand}"
   SendMessageCommand="{Binding SendTextMessageCommand}"
   ImageTappedCommand="{Binding ViewImageCommand}"


1 Reply

SV Suja Venkatesan Syncfusion Team November 3, 2022 09:53 AM

We would like to let you know that we have checked the reported scenario in simple SfChat sample with more messages. Unfortunately, we are unable to replicate the reported scenario on our end, SfChat page automatically scroll to bottom. Please confirm the SfChat version with Xamarin.Forms version in which you are facing the reported scenario. Hereby we have attached sample which we used to check the reported scenario. Please have a look at the sample and let us know if we missed any customization you have done in your application, if possible, please revert to us with modified sample with illustration video or image to replicate the reported scenario on our end. It will be more helpful for us to provide a timely solution.

Additional Information:

Tested device:  Android: Physical device- Redmi Note 8 pro(Android 11.0- API 30) 

Attachment: SfChat_91af0221.zip

Live Chat Icon For mobile
Up arrow icon