fix copy/paste/cut on guest user message input
This commit is contained in:
parent
64fa09b4ac
commit
6bd6dd2767
@ -63,6 +63,9 @@ class TextInput extends PureComponent {
|
||||
maxLength={maxLength}
|
||||
onChange={(e) => this.handleOnChange(e)}
|
||||
onKeyDown={(e) => this.handleOnKeyDown(e)}
|
||||
onPaste={(e) => { e.stopPropagation(); }}
|
||||
onCut={(e) => { e.stopPropagation(); }}
|
||||
onCopy={(e) => { e.stopPropagation(); }}
|
||||
placeholder={placeholder}
|
||||
value={message}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user