diff --git a/components/lib/mention/Mention.js b/components/lib/mention/Mention.js index 79a8153cce..ecf854c6f5 100644 --- a/components/lib/mention/Mention.js +++ b/components/lib/mention/Mention.js @@ -182,6 +182,7 @@ export const Mention = React.memo( const nextText = value.substring(triggerState.index + currentText.length); inputRef.current.value = `${prevText}${selectedText} ${nextText}`; + event.target = inputRef.current; props.onChange && props.onChange(event); }