Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astrohunter62 committed Oct 13, 2023
1 parent 7ca2a1a commit 2ca6049
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/LHNOptionsList/OptionRowLHN.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ function OptionRowLHN(props) {
if (e) {
e.preventDefault();
}
// Enable Composer to focus on clicking the same chat after opening the context menu.
ReportActionComposeFocusManager.focus();
props.onSelectRow(optionItem, popoverAnchor);
}}
Expand All @@ -184,9 +185,9 @@ function OptionRowLHN(props) {
testID={optionItem.reportID}
onSecondaryInteraction={(e) => {
showPopover(e);
DomUtils.blurActiveElement();
// Composer blur when opening context menu
DomUtils.getActiveElement().blur();
}}

withoutFocusOnSecondaryInteraction
activeOpacity={0.8}
style={[
Expand Down

0 comments on commit 2ca6049

Please sign in to comment.