Skip to content

Commit b48ded2

Browse files
authored
Merge pull request #13249 from Expensify/arosiclair-right-click-blink
Keep message highlighted when right clicking
2 parents eb0110d + 2c4b9c9 commit b48ded2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pages/home/report/ReportActionItem.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class ReportActionItem extends Component {
112112
if (this.props.draftMessage) {
113113
return;
114114
}
115+
116+
this.setState({isContextMenuActive: true});
115117
const selection = SelectionScraper.getCurrentSelection();
116118
ReportActionContextMenu.showContextMenu(
117119
ContextMenuActions.CONTEXT_MENU_TYPES.REPORT_ACTION,
@@ -121,7 +123,7 @@ class ReportActionItem extends Component {
121123
this.props.report.reportID,
122124
this.props.action,
123125
this.props.draftMessage,
124-
this.checkIfContextMenuActive,
126+
undefined,
125127
this.checkIfContextMenuActive,
126128
);
127129
}

0 commit comments

Comments
 (0)