diff --git a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift index 8916f87..c7ba332 100644 --- a/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift +++ b/NucleicRemote/NucleicRemote/Views/SessionDetailView.swift @@ -229,6 +229,9 @@ struct TranscriptList: View { } .padding() } + // A drag on the transcript dismisses the keyboard, so a tall multiline composer can + // be put away without leaving the session. + .scrollDismissesKeyboard(.interactively) // Coalescing means item count lags event count; key the autoscroll on the raw stream // so every streamed delta keeps the view pinned to the bottom. .onChange(of: events.count) {