fix(app): loading session should be scrolled to the bottom

This commit is contained in:
Adam
2026-03-04 07:18:09 -06:00
parent d7569a5625
commit 2ccf21de99
@@ -550,6 +550,7 @@ export function MessageTimeline(props: {
"--sticky-accordion-top": showHeader() ? "48px" : "0px", "--sticky-accordion-top": showHeader() ? "48px" : "0px",
}} }}
> >
<div ref={props.setContentRef} class="min-w-0 w-full">
<Show when={showHeader()}> <Show when={showHeader()}>
<div <div
data-session-title data-session-title
@@ -665,7 +666,6 @@ export function MessageTimeline(props: {
</Show> </Show>
<div <div
ref={props.setContentRef}
role="log" role="log"
class="flex flex-col gap-12 items-start justify-start pb-16 transition-[margin]" class="flex flex-col gap-12 items-start justify-start pb-16 transition-[margin]"
classList={{ classList={{
@@ -772,6 +772,7 @@ export function MessageTimeline(props: {
}} }}
</For> </For>
</div> </div>
</div>
</ScrollView> </ScrollView>
</div> </div>
</Show> </Show>