Chat View Refinement
Nucleic-Session: 4E56990A-96AE-4597-9140-753CB82E769D Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -248,11 +248,13 @@ struct SessionDetailView: View {
|
|||||||
if store.canControl, let summary { controlRow(summary) }
|
if store.canControl, let summary { controlRow(summary) }
|
||||||
if canCompose {
|
if canCompose {
|
||||||
HStack(alignment: .bottom, spacing: 8) {
|
HStack(alignment: .bottom, spacing: 8) {
|
||||||
|
// No keyboard-accessory Done button here (it floats awkwardly
|
||||||
|
// over the glass bar on iOS 26) — a drag on the transcript
|
||||||
|
// dismisses the keyboard instead (`scrollDismissesKeyboard`).
|
||||||
TextField(running ? "Queue a follow-up…" : "Send a follow-up…",
|
TextField(running ? "Queue a follow-up…" : "Send a follow-up…",
|
||||||
text: $draft, axis: .vertical)
|
text: $draft, axis: .vertical)
|
||||||
.textFieldStyle(.plain)
|
.textFieldStyle(.plain)
|
||||||
.lineLimit(1...4)
|
.lineLimit(1...4)
|
||||||
.keyboardDismissable()
|
|
||||||
.padding(.vertical, 3)
|
.padding(.vertical, 3)
|
||||||
Button {
|
Button {
|
||||||
store.sendInput(draft, to: sessionID)
|
store.sendInput(draft, to: sessionID)
|
||||||
|
|||||||
Reference in New Issue
Block a user