We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73e59a4 + fbaa2b7 commit 7454523Copy full SHA for 7454523
Wisp/Views/SpriteDetail/Chat/ChatInputBar.swift
@@ -109,6 +109,9 @@ struct ChatInputBar: View {
109
.buttonStyle(.glass)
110
}
111
112
+ .onChange(of: text) { _, newValue in
113
+ if newValue.isEmpty { textInputHeight = 36 }
114
+ }
115
.animation(.easeInOut(duration: 0.2), value: attachedFiles.count)
116
.animation(.easeInOut(duration: 0.2), value: lastUploadedFileName)
117
.padding(.horizontal)
0 commit comments