Skip to content

Commit be27fd8

Browse files
Fixed chat bug causing the input box to occupy too much space (#519)
1 parent 61ffddf commit be27fd8

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/MindWork AI Studio/Components/ChatComponent.razor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,9 @@ private async Task SendMessage(bool reuseLastUserPrompt = false)
505505
});
506506

507507
// Clear the input field:
508+
await this.inputField.FocusAsync();
508509
this.userInput = string.Empty;
510+
await this.inputField.BlurAsync();
509511

510512
// Enable the stream state for the chat component:
511513
this.isStreaming = true;

app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Improved the implementation of configuration plugins to enhance long-term maintainability.
77
- Changed the timestamp display to use the local datetime format for the chats and assistants.
88
- Fixed a bug when editing data sources that caused the selected retrieval process of an ERI data source to not load correctly.
9+
- Fixed a bug in the chat that caused the multi-line text input box to occupy too much space even after submitting a prompt.
910
- Upgraded to Rust 1.88.0.
1011
- Upgraded MudBlazor to version 8.9.0.
1112
- Upgraded Pdfium to version 137.0.7215.0.

0 commit comments

Comments
 (0)