mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 17:53:48 +00:00
Fixed a bug where it was possible that the chat interface was not scrolling to the bottom (#133)
This commit is contained in:
1 parent
d7c124926b
commit
a5bdb3267b
2 files changed
+8
No files matched your search
@@ -216,6 +216,13 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
|
||||
// Enable the stream state for the chat component:
|
||||
this.isStreaming = true;
|
||||
this.hasUnsavedChanges = true;
|
||||
|
||||
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
|
||||
{
|
||||
this.mustScrollToBottomAfterRender = true;
|
||||
this.scrollRenderCountdown = 2;
|
||||
}
|
||||
|
||||
this.StateHasChanged();
|
||||
|
||||
// Use the selected provider to get the AI response.
|
||||
|
||||
Reference in new issue
Block a user