diff --git a/app/containers/MessageBox/index.js b/app/containers/MessageBox/index.js index 810988f61e3bdc09dd399007c9d0aae2f7fb5d38..9ebf458a7afb8411f79751cf94a42aa5925cbe94 100644 --- a/app/containers/MessageBox/index.js +++ b/app/containers/MessageBox/index.js @@ -188,7 +188,7 @@ class MessageBox extends Component { this.handleTyping(!isTextEmpty); this.setInput(text); - if (this.component) { + if (!isTextEmpty) { const { start, end } = this.component._lastNativeSelection; const cursor = Math.max(start, end); const lastNativeText = this.component._lastNativeText;