Posting a large context in the chat hangs the client

1. Summary

The application experiences a significant performance degradation and UI unresponsiveness when a large amount of text (specifically, a JavaScript code snippet of approximately 265KB) is pasted into the chat input field. The issue culminates in a complete application freeze, requiring the user to clear local storage to regain functionality.

2. Steps to Reproduce

  1. Open the chat application.

  2. Prepare a large text input (e.g., a JavaScript file, code snippet, or any text exceeding ~250KB).

  3. Copy the text to the clipboard.

  4. Paste the text into the chat input field.

  5. Attempt to submit the input (e.g., by pressing Enter or clicking the send button).

  6. Observe the application's behavior.

Please authenticate to join the conversation.

Upvoters
Status

Completed

Board
🐛

Bug Reports

Subscribe to post

Get notified by email when there are changes.