diff --git a/src/pages/home/report/ReportActionCompose/index.js b/src/pages/home/report/ReportActionCompose/index.js index 741bf50d1056..e76c3eaec7c7 100644 --- a/src/pages/home/report/ReportActionCompose/index.js +++ b/src/pages/home/report/ReportActionCompose/index.js @@ -490,7 +490,7 @@ class ReportActionCompose extends React.Component { } // If we're typing on another input/text area, do not focus - if (e.target.nodeName === 'INPUT' || e.target.nodeName === 'TEXTAREA') { + if (document.activeElement.nodeName === 'INPUT' || document.activeElement.nodeName === 'TEXTAREA') { return; }