How to show Scrollbar in SFChat to scroll messages up or down?

Syncfusion Team,

I am developing the Xamarin.Forms application and using SFChat control to implement a chat feature. I want to show the Scrollbar in UWP as well as iOS and Android, so that, user can know there are chat messages in history and this scrollbar gives kind of an indication for this.

The client application which I am working on, requires this, as a Mandatory feature.

Is there any way we can enable this (scrollbar) at the moment? I can't wrap this SFChat inside the ScrollView which gives weird issues.

I have attached the screenshot in the zip file for your reference.

Syncfusion : 18.4.0.47

Xamarin.Forms : 5.0.0.2083

Thanks,

Milan


Attachment: SFChatScrollbar_issue_ce687f8.zip

3 Replies 1 reply marked as answer

VP Vimal Prabhu Manohkaran Syncfusion Team July 15, 2021 02:32 PM UTC

Hi Milan,

Thanks for using Syncfusion products. To show the scroll bar, set true to the IsScrollBarVisible property of our internal list view control, that we have used inside the chat control using the below code.


(this.sfChat.GetType().GetRuntimeProperties().FirstOrDefault(x => x.Name.Equals("ChatListView")).GetValue(this.sfChat) as SfListView).IsScrollBarVisible = true;


Regards,
Vimal Prabhu.


Marked as answer

MG Milan Gohil July 16, 2021 07:58 AM UTC

Hi,

Thanks for responding quickly. This solved the problem. However, It would be great if this is documented here.

Or, it will be much useful if this property is exposed, so we can set this to true/false at SFChat control level.

Thanks,

Milan.



KK Karthikraja Kalaimani Syncfusion Team July 19, 2021 06:13 AM UTC

Hi Milan,

Thanks for the update.

We glad to know that the your requirement meets in our previously provided update. We will consider this as KB and implement in our feature release.

Regards,
Karthik Raja

Loader.
Up arrow icon