diff --git a/src/components/Composer/index.js b/src/components/Composer/index.js index af350ae48336..4585a375e199 100755 --- a/src/components/Composer/index.js +++ b/src/components/Composer/index.js @@ -306,7 +306,11 @@ class Composer extends React.Component { * @param {ClipboardEvent} event */ handlePaste(event) { - if (!this.props.checkComposerVisibility() && !this.state.isFocused) { + if (!this.props.checkComposerVisibility()) { + return; + } + + if (['INPUT', 'TEXTAREA'].includes(event.target.nodeName)) { return; }