Skip to content

Commit

Permalink
fix:dynamic mention options do not always load (#36)
Browse files Browse the repository at this point in the history
Co-authored-by: GYL <[email protected]>
  • Loading branch information
Gylllll and GYL authored Sep 25, 2020
1 parent e41db3a commit 4be3825
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Mentions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ class Mentions extends React.Component<MentionsProps, MentionsState> {
if (validateMeasure) {
if (
key === measurePrefix ||
key === 'Shift'||
measuring ||
(measureText !== prevMeasureText && matchOption)
) {
Expand Down

0 comments on commit 4be3825

Please sign in to comment.