https://dojo.telerik.com/uJIwiyih
With version 2024.1.319, the sendMessage of chat is called twice whereas the bug doesn't exist in version 2022.3.913.
Is there a solution?
I have a chat widget configured like this:
let chat = $(target).kendoChat({ messages: { placeholder: ResourceManager.GetInstance().getResource("SR_TYPE_A_MESSAGE") }, user: user, post: async (m: kendo.ui.ChatPostEvent) => await this.post(m), }).data("kendoChat");
If the post handler tries to await a call to a web service (to do some translation/tag substitution) then the message is posted to the chat and the results of the web call are ignored.
multiline message is a basic feature that Kendo Conversational UI should have..
The current chat widget renders the user-input as an INPUT control, which means it cannot support multi-line support.
Wish for the option of rendering a TEXTAREA control instead of an INPUT for the chat widget:
Something like the following:
let chat = $(target).kendoChat({
messages: {
placeholder: ResourceManager.GetInstance().getResource("SR_TYPE_A_MESSAGE"),
textarea: true
},
user: user,
post: async (m: kendo.ui.ChatPostEvent) => await this.post(m),
}).data("kendoChat");
The function kendo.chat.registerTemplate as mentioned here: https://docs.telerik.com/kendo-ui/controls/conversational-ui/chat/chat-items#custom-templates is missing in API Reference and the Typescript Definitions.
It would also be nice to have it documented in functions that are using the templates, for example the "message.type" parameter in https://docs.telerik.com/kendo-ui/api/javascript/ui/chat/methods/rendermessage
Hi,
message list is not scrolled down when attachments are rendered (see dojo). I'm pretty sure it should scroll the same way it does when rendering messages.
Best regards,
Jarmo
I would like to see a chat control with different layouts like skype, whats-app etc.
How can I make the chat component offer infinite backwards scrolling to make previous historical conversations load. Like iMessage. In WPF I can get at the scrolling container and faff about with loading the data, maybe.
See my other ticket view-ticket/1385134
and feedback request
https://feedback.telerik.com/wpf/1385308-chat-implement-endless-scrolling-functionality
si