We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4e6df9 commit cb59e38Copy full SHA for cb59e38
Sources/StreamChatSwiftUI/ChatChannel/Composer/ComposerTextInputView.swift
@@ -24,8 +24,10 @@ struct ComposerTextInputView: UIViewRepresentable {
24
25
func updateUIView(_ uiView: InputTextView, context: Context) {
26
DispatchQueue.main.async {
27
- uiView.text = text
28
- uiView.handleTextChange()
+ if uiView.markedTextRange == nil {
+ uiView.text = text
29
+ uiView.handleTextChange()
30
+ }
31
}
32
33
0 commit comments