Skip to content

Commit 4be3825

Browse files
GylllllGYL
andauthored
fix:dynamic mention options do not always load (#36)
Co-authored-by: GYL <sehun@0412.com>
1 parent e41db3a commit 4be3825

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Mentions.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ class Mentions extends React.Component<MentionsProps, MentionsState> {
189189
if (validateMeasure) {
190190
if (
191191
key === measurePrefix ||
192+
key === 'Shift'||
192193
measuring ||
193194
(measureText !== prevMeasureText && matchOption)
194195
) {

0 commit comments

Comments
 (0)