fix copy/paste/cut on guest user message input

This commit is contained in:
Ramón Souza 2023-03-09 14:46:45 -03:00
parent 64fa09b4ac
commit 6bd6dd2767

View File

@ -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}
/>