feat: add scroll-to-bottom button to chat + prevent forced scroll down (#23270)

This commit is contained in:
Aleksander Grygier
2026-05-18 16:17:21 +02:00
committed by GitHub
parent 1ff0fc1384
commit b9a2170fce
4 changed files with 70 additions and 2 deletions
@@ -667,3 +667,10 @@ export { default as ChatScreenForm } from './ChatScreen/ChatScreenForm.svelte';
* Only visible when `isCurrentConversationLoading` is true.
*/
export { default as ChatScreenProcessingInfo } from './ChatScreen/ChatScreenProcessingInfo.svelte';
/**
* Scroll-to-bottom action button. Displays a floating button when the user
* has scrolled up more than half a viewport height from the bottom.
* Takes the chat container element as a prop to manage scroll state internally.
*/
export { default as ChatScreenActionScrollDown } from './ChatScreen/ChatScreenActionScrollDown.svelte';