Session Chat Auto-Scroll Adjustment

Nucleic-Session: 8FCEB1B7-A6C0-44E2-B00A-E4786F41A1FA
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-06 03:31:43 -07:00
co-authored by Nucleic
parent 6292c7e723
commit f7dad34fb9
@@ -18,6 +18,9 @@ struct SessionDetailView: View {
// Bumped on send to jump the transcript to the bottom, even if the user had scrolled up to // Bumped on send to jump the transcript to the bottom, even if the user had scrolled up to
// read history — sending is a deliberate "show me what happens next" (mirrors the Mac). // read history — sending is a deliberate "show me what happens next" (mirrors the Mac).
@State private var scrollToBottomRequest = 0 @State private var scrollToBottomRequest = 0
// Owned here (not inside `TranscriptList`) so the jump-to-bottom chevron can ride in the chat
// bar just above the composer. `TranscriptList` drives it from the scroll geometry.
@State private var isScrolledToBottom = true
private var summary: WireSessionSummary? { private var summary: WireSessionSummary? {
store.sessions.first { $0.sessionID == sessionID } store.sessions.first { $0.sessionID == sessionID }