Skip to content

Commit

Permalink
fix: compatible with alt and altGr
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarryxin committed Sep 14, 2024
1 parent cd1e87f commit dfef25a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mentions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ const InternalMentions = forwardRef<MentionsRef, MentionsProps>(
if (
key === nextMeasurePrefix ||
key === 'Shift' ||
key === 'Alt' ||
which === KeyCode.ALT ||
mergedMeasuring ||
(nextMeasureText !== mergedMeasureText && matchOption)
) {
Expand Down

0 comments on commit dfef25a

Please sign in to comment.