Fixed a bug where it was possible that the chat interface was not scrolling to the bottom (#133)

This commit is contained in:
Thorsten Sommer 2024-09-08 21:32:02 +02:00 committed by GitHub
parent d7c124926b
commit a5bdb3267b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -216,6 +216,13 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
// Enable the stream state for the chat component: // Enable the stream state for the chat component:
this.isStreaming = true; this.isStreaming = true;
this.hasUnsavedChanges = true; this.hasUnsavedChanges = true;
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
{
this.mustScrollToBottomAfterRender = true;
this.scrollRenderCountdown = 2;
}
this.StateHasChanged(); this.StateHasChanged();
// Use the selected provider to get the AI response. // Use the selected provider to get the AI response.

View File

@ -6,5 +6,6 @@
- Added an introductory description to the provider settings. - Added an introductory description to the provider settings.
- Added an indicator for the current and maximal length of the provider instance name. - Added an indicator for the current and maximal length of the provider instance name.
- Fixed the bug that the model name for Fireworks was not loaded when editing the provider settings. - Fixed the bug that the model name for Fireworks was not loaded when editing the provider settings.
- Fixed a bug where it was possible that the chat interface was not scrolling to the bottom when new messages were added.
- Improved hyphenation for continuous text so that the rules of the respective language are taken into account where possible. - Improved hyphenation for continuous text so that the rules of the respective language are taken into account where possible.
- Improved the rules for provider names: unnecessary restrictions from earlier versions have been removed. You can now use emojis in your provider names when you like. - Improved the rules for provider names: unnecessary restrictions from earlier versions have been removed. You can now use emojis in your provider names when you like.