Fix Emoji Picker: Emoji sometimes are not entered in Safari (#1003)

This commit is contained in:
Alexander Zinchuk 2021-04-15 10:33:13 +03:00
parent 4f632f0aaf
commit 656e8f1e47

View File

@ -315,7 +315,7 @@ const Composer: FC<OwnProps & StateProps & DispatchProps> = ({
focusEditableElement(messageInput); focusEditableElement(messageInput);
}); });
} }
} else if (IS_MOBILE_SCREEN) { } else {
setHtml(`${htmlRef.current!}${newHtml}`); setHtml(`${htmlRef.current!}${newHtml}`);
} }
}, []); }, []);