From 4be382559f04cb19b8e593747a0ae0e2214eecd7 Mon Sep 17 00:00:00 2001 From: Gylllll <52419853+Gylllll@users.noreply.github.com> Date: Fri, 25 Sep 2020 11:50:22 +0800 Subject: [PATCH] fix:dynamic mention options do not always load (#36) Co-authored-by: GYL --- src/Mentions.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mentions.tsx b/src/Mentions.tsx index 311d71d..ab6b3fc 100644 --- a/src/Mentions.tsx +++ b/src/Mentions.tsx @@ -189,6 +189,7 @@ class Mentions extends React.Component { if (validateMeasure) { if ( key === measurePrefix || + key === 'Shift'|| measuring || (measureText !== prevMeasureText && matchOption) ) {