changed emoji trigger to exclude non-alphanumeric characters

pull/2246/head
koray-eren 3 years ago
parent 8d83d99b26
commit b4a57b32eb

@ -423,7 +423,7 @@ class CompositionBoxInner extends React.Component<Props, State> {
const { isKickedFromGroup, left, isPrivate, isBlocked } = this.props.selectedConversation;
const messagePlaceHolder = makeMessagePlaceHolderText();
const { typingEnabled } = this.props;
const neverMatchingRegex = /($a)/;
const neverMatchingRegex = /(\W)$/;
return (
<MentionsInput

Loading…
Cancel
Save