Fix editing text in textarea (#2159)

This commit is contained in:
Alexander Zinchuk 2022-11-27 19:17:00 +01:00
parent 465f3f1f1a
commit cb87c1dea8

View File

@ -405,6 +405,7 @@ const MessageInput: FC<OwnProps & StateProps> = ({
input
&& target !== input
&& target.tagName !== 'INPUT'
&& target.tagName !== 'TEXTAREA'
&& !target.isContentEditable
) {
focusEditableElement(input, true, true);