Skip to content

Commit

Permalink
Merge pull request #27287 from akinwale/task-26534
Browse files Browse the repository at this point in the history
fix: mentions list reopens after requesting money, with composer not focused
  • Loading branch information
stitesExpensify authored Sep 18, 2023
2 parents be0d9f4 + 8b3871c commit 96f0b6f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ function ComposerWithSuggestions({

const onSelectionChange = useCallback(
(e) => {
if (suggestionsRef.current.onSelectionChange(e)) {
if (textInputRef.current && textInputRef.current.isFocused() && suggestionsRef.current.onSelectionChange(e)) {
return;
}

Expand Down

0 comments on commit 96f0b6f

Please sign in to comment.