We are using the blazor chat component with Microsoft.Extensions.AI and IChatClient. Currently during a long response stream the chat repeatedly scrolls to the bottom automatically as the response updates. When I use use my mouse wheel to scroll to the top it immediately auto scrolls me back to the bottom.
A user needs to be able scroll to the top as the response is streaming in. If the user manually scrolls the auto scrolling should stop. Any subsequent messages sent in the same chat session should resume auto scroll. This is the behavior seen in most AI chat interfaces like chatGPT and is what most users expect.
For more info and a video refer to support ticket: 1712888
Thanks, Justin.
Hello Justin,
Introducing a new parameter (AutoScrollThreshold) is planned for the next release. The parameter controls how far from the top edge of the visible message area the latest receiver message is positioned during auto-scroll. This keeps the start of the new message visible with a configurable amount of space above it, similar to the scroll behavior in ChatGPT and other AI chat applications.
Regards,
Ivan Danchev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.