Session Chat Auto-Scroll Adjustment
Nucleic-Session: 8FCEB1B7-A6C0-44E2-B00A-E4786F41A1FA Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user