diff --git a/src/libs/ReportActionComposeFocusManager.ts b/src/libs/ReportActionComposeFocusManager.ts index 0271bd5979ec..ca4f9d77898b 100644 --- a/src/libs/ReportActionComposeFocusManager.ts +++ b/src/libs/ReportActionComposeFocusManager.ts @@ -57,6 +57,10 @@ function clear(isMainComposer = false) { function isFocused(): boolean { return !!composerRef.current?.isFocused(); } + +/** + * Exposes the current focus state of the edit message composer. + */ function isEditFocused(): boolean { return !!editComposerRef.current?.isFocused(); }