diff --git a/src/pages/home/report/ReportActionItem.js b/src/pages/home/report/ReportActionItem.js index c813862832f6..b1d983ab5cd3 100644 --- a/src/pages/home/report/ReportActionItem.js +++ b/src/pages/home/report/ReportActionItem.js @@ -165,6 +165,10 @@ class ReportActionItem extends Component { * @param {string} [selection] - A copy text. */ showPopover(event, selection) { + // Block menu on the message being Edited + if (this.props.draftMessage) { + return; + } const nativeEvent = event.nativeEvent || {}; this.selection = selection; this.capturePressLocation(nativeEvent).then(() => { @@ -261,6 +265,7 @@ class ReportActionItem extends Component { isVisible={ hovered && !this.state.isPopoverVisible + && !this.props.draftMessage } draftMessage={this.props.draftMessage} hidePopover={this.hidePopover}