diff --git a/src/pages/home/report/ReportActionCompose.js b/src/pages/home/report/ReportActionCompose.js index 0356368bd1a6..0942c329e6a0 100644 --- a/src/pages/home/report/ReportActionCompose.js +++ b/src/pages/home/report/ReportActionCompose.js @@ -730,6 +730,11 @@ class ReportActionCompose extends React.Component { return; } + // If the space key is pressed, do not focus + if (e.code === 'Space') { + return; + } + // if we're typing on another input/text area, do not focus if (['INPUT', 'TEXTAREA'].includes(e.target.nodeName)) { return;