From 584ae10622d808b06b080f59cb2937dc832ae0c7 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 03:32:02 -0700 Subject: [PATCH] Session Chat Auto-Scroll Adjustment Nucleic-Session: 8FCEB1B7-A6C0-44E2-B00A-E4786F41A1FA Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Views/SessionDetailView.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift index 7c2595d..84bfdd8 100644 --- a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift +++ b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift @@ -416,8 +416,9 @@ struct TranscriptList: View { /// True while the user is parked at (within a hair of) the bottom, so live output keeps /// following; once they scroll up it flips false, following stops, and the jump-to-bottom - /// chevron appears. Starts true — a freshly opened chat is anchored at the bottom. - @State private var isScrolledToBottom = true + /// chevron appears. Starts true — a freshly opened chat is anchored at the bottom. Owned by + /// the parent so the chevron can live in the chat bar above the composer. + @Binding var isScrolledToBottom: Bool /// True for a short window right after the transcript appears, while it runs its first /// layout passes and its events fill in. During it we accept only "at bottom" scroll