diff --git a/app/MindWork AI Studio/Components/ChatComponent.razor.cs b/app/MindWork AI Studio/Components/ChatComponent.razor.cs index 29b75f74..c1d36f32 100644 --- a/app/MindWork AI Studio/Components/ChatComponent.razor.cs +++ b/app/MindWork AI Studio/Components/ChatComponent.razor.cs @@ -505,7 +505,9 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable }); // Clear the input field: + await this.inputField.FocusAsync(); this.userInput = string.Empty; + await this.inputField.BlurAsync(); // Enable the stream state for the chat component: this.isStreaming = true; diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md b/app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md index fe2bce7b..81d34670 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md @@ -6,6 +6,7 @@ - Improved the implementation of configuration plugins to enhance long-term maintainability. - Changed the timestamp display to use the local datetime format for the chats and assistants. - Fixed a bug when editing data sources that caused the selected retrieval process of an ERI data source to not load correctly. +- Fixed a bug in the chat that caused the multi-line text input box to occupy too much space even after submitting a prompt. - Upgraded to Rust 1.88.0. - Upgraded MudBlazor to version 8.9.0. - Upgraded Pdfium to version 137.0.7215.0.