Completed
Last Updated: 17 Nov 2025 09:14 by ADMIN
Release 2026 Q1 (Feb)
Created by: Craig
Comments: 1
Category: Chat
Type: Bug Report
1

Hi,

When submitting a chat message using the Chat component, it is possible to lose recently entered text.

I believe this is because:

  1. The TextArea in the Chat component has a debounce delay (the default 150ms delay)
  2. Pressing enter (or clicking the send button) fires the SendMessageAsync method instantly
  3. SendMessageAsync uses the last text received from the TextArea, but this can be up to 150ms behind due to the debounce delay

This is reproducible on the Chat component documentation page, https://www.telerik.com/blazor-ui/documentation/components/chat/overview#creating-blazor-chat:

  1. Type in some text
  2. Wait 150ms (i.e., wait for the button to enable, otherwise the enter keypress and button clicks are ignored)
  3. Type some more text and quickly hit enter (or press the button)

Depending on the timing, the last few characters/words will be lost and not included in the message.

I encounter this issue in version 11 with server side rendering, but the documentation page appears to be using version 12 with web assembly.

Thanks,

Craig