diff --git a/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx index cc6f4c94989b5..c88c6762724a7 100644 --- a/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx +++ b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx @@ -314,15 +314,13 @@ function ComposerWithSuggestions({ */ const setTextInputRef = useCallback( (el: TextInput) => { - if (isFocused) { - ReportActionComposeFocusManager.composerRef.current = el; - } + ReportActionComposeFocusManager.composerRef.current = el; textInputRef.current = el; if (typeof animatedRef === 'function') { animatedRef(el); } }, - [animatedRef, isFocused], + [animatedRef], ); const resetKeyboardInput = useCallback(() => {