Fix editing text in textarea (#2159)
This commit is contained in:
parent
465f3f1f1a
commit
cb87c1dea8
@ -405,6 +405,7 @@ const MessageInput: FC<OwnProps & StateProps> = ({
|
|||||||
input
|
input
|
||||||
&& target !== input
|
&& target !== input
|
||||||
&& target.tagName !== 'INPUT'
|
&& target.tagName !== 'INPUT'
|
||||||
|
&& target.tagName !== 'TEXTAREA'
|
||||||
&& !target.isContentEditable
|
&& !target.isContentEditable
|
||||||
) {
|
) {
|
||||||
focusEditableElement(input, true, true);
|
focusEditableElement(input, true, true);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user