From 29814a9ab01dd489dc52cf4014948176929b4468 Mon Sep 17 00:00:00 2001 From: Mahesh Vagicherla <59088937+b4s36t4@users.noreply.github.com> Date: Mon, 11 Sep 2023 19:03:44 +0530 Subject: [PATCH] Update src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Arkadiusz ChrabÄ…szczewski --- .../home/report/ReportActionCompose/ComposerWithSuggestions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js index 57ec0c0c5f96..6a29c5b6cfef 100644 --- a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js +++ b/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions.js @@ -354,7 +354,7 @@ function ComposerWithSuggestions({ * @returns {Boolean} */ const checkComposerVisibility = useCallback(() => { - // Checking weather the screen is focused or not, helps avoiding `modal.isVisible` false when popups are closed even modal is opened + // Checking whether the screen is focused or not, helps avoid `modal.isVisible` false when popups are closed, even if the modal is opened. const isComposerCoveredUp = !isFocused || EmojiPickerActions.isEmojiPickerVisible() || isMenuVisible || modal.isVisible || modal.willAlertModalBecomeVisible; return !isComposerCoveredUp; }, [isMenuVisible, modal, isFocused]);