Skip to content

Commit ffbee16

Browse files
committed
fix composer is not refocused after adding an emoji in edit composer
1 parent 94658ba commit ffbee16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/ReportActionComposeFocusManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function focus(shouldFocusForNonBlurInputOnTapOutside?: boolean) {
3939
/** Do not trigger the refocusing when the active route is not the report screen */
4040
const navigationState = navigationRef.getState();
4141
const focusedRoute = findFocusedRoute(navigationState);
42-
if (!navigationState || (!isReportOpenInRHP(navigationState) && focusedRoute?.name !== SCREENS.REPORT)) {
42+
if (!navigationState || (!isReportOpenInRHP(navigationState) && focusedRoute?.name !== SCREENS.REPORT && focusedRoute?.name !== SCREENS.SEARCH.MONEY_REQUEST_REPORT)) {
4343
return;
4444
}
4545

0 commit comments

Comments
 (0)