Skip to content

Commit

Permalink
fix: mroe edge cases
Browse files Browse the repository at this point in the history
  • Loading branch information
allroundexperts committed Mar 15, 2024
1 parent 6736a26 commit 6eeb994
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ function SuggestionMention(
return false;
}

// Given the mention is inserted by user, we don't want to show the mention options unless user
// uses presses any key again.
// Given the mention is inserted by user, we don't want to show the mention options unless the
// selection index changes. In that case, suggestionInsertionIndexRef.current will be null.
// See https://github.com/Expensify/App/issues/38358 for more context
if (suggestionInsertionIndexRef.current) {
return false;
Expand Down

0 comments on commit 6eeb994

Please sign in to comment.