Please refer to the attached sample project and follow the steps from the gif file. The scrollbar needs to be in the middle.
Note: the issue can be reproduced without action list as well.
Hello,
A fix will be introduced in Telerik UI for WinForms R3 2019.
Additionally, now the ScrollToItem method of the Scroller is working so that the end user can scroll to a particular message:
this
.radChat1.ChatElement.MessagesViewElement.Scroller.ScrollToItem(
this
.radChat1.ChatElement.MessagesViewElement.Items[5]);
Regards,
Progress TelerikRadChat for Winforms
this
.radChat1.ChatElement.MessagesViewElement.VScrollBar.Value = Math.Max(
this
.radChat1.ChatElement.MessagesViewElement.VScrollBar.Value,
this
.radChat1.ChatElement.MessagesViewElement.VScrollBar.Maximum -
this
.radChat1.ChatElement.MessagesViewElement.VScrollBar.LargeChange);
Hello,
Could you please tell, when this issue will be fixed? As blank dots in the chat are creating problem in reading the correct chat.
Showing blank dots instead of real message is very frequent now.
Also, the major blank dots are occuring when i scroll the chat to the bottom through code shared by you, which is -
RadScrollBarElement scrollbar = radChat1.ChatElement.MessagesViewElement.Scroller.Scrollbar;
Would you please help resolving this at earliest. Looking forward to your response.
Thanks.
I have also updated your Telerik points.
Currently, the possible solution that I can suggest is to update the layout after a new message is added:
private
void
radChat1_SendMessage(
object
sender, SendMessageEventArgs e)
{
this
.radChat1.ChatElement.MessagesViewElement.InvalidateMeasure(
true
);
this
.radChat1.ChatElement.MessagesViewElement.UpdateLayout();
}