mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-27 23:59:48 +00:00
Fixed the chat scrolling behavior after toggling the workspaces (#255)
This commit is contained in:
parent
2ef4d9d53f
commit
e9975a5fbc
@ -106,13 +106,13 @@ public partial class ChatComponent : MSGComponentBase, IAsyncDisposable
|
|||||||
await WorkspaceBehaviour.EnsureBiasWorkspace();
|
await WorkspaceBehaviour.EnsureBiasWorkspace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
|
|
||||||
{
|
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
|
||||||
this.mustScrollToBottomAfterRender = true;
|
{
|
||||||
this.scrollRenderCountdown = 2;
|
this.mustScrollToBottomAfterRender = true;
|
||||||
this.StateHasChanged();
|
this.scrollRenderCountdown = 4;
|
||||||
}
|
this.StateHasChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
var deferredLoading = MessageBus.INSTANCE.CheckDeferredMessages<LoadChat>(Event.LOAD_CHAT).FirstOrDefault();
|
var deferredLoading = MessageBus.INSTANCE.CheckDeferredMessages<LoadChat>(Event.LOAD_CHAT).FirstOrDefault();
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# v0.9.25, build 200 (2025-01-xx xx:xx UTC)
|
# v0.9.25, build 200 (2025-01-xx xx:xx UTC)
|
||||||
- Added xAI as a new provider. xAI provides their Grok models for generating content.
|
- Added xAI as a new provider. xAI provides their Grok models for generating content.
|
||||||
- Improved the stop generation button behavior to ensure that the AI stops generating content immediately (which will save compute time, energy and financial resources).
|
- Improved the stop generation button behavior to ensure that the AI stops generating content immediately (which will save compute time, energy and financial resources).
|
||||||
|
- Fixed the chat scrolling behavior after toggling the workspaces.
|
||||||
- Restructured the streaming network code to be centralized out of the individual providers. This will allow for easier maintenance and updates in the future.
|
- Restructured the streaming network code to be centralized out of the individual providers. This will allow for easier maintenance and updates in the future.
|
Loading…
Reference in New Issue
Block a user