diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index b85cb03f8e40..31a4ca999ac3 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -644,6 +644,10 @@ class ReportActionCompose extends React.Component { * @param {Object} file */ addAttachment(file) { + // Since we're submitting the form here which should clear the composer + // We don't really care about saving the draft the user was typing + // We need to make sure an empty draft gets saved instead + this.debouncedSaveReportComment.cancel(); const comment = this.prepareCommentAndResetComposer(); Report.addAttachment(this.props.reportID, file, comment); this.setTextInputShouldClear(false);