From 4ac6f306376c8ed3bda1e6081a0089b7141a052b Mon Sep 17 00:00:00 2001 From: Krishna Gupta Date: Thu, 27 Jun 2024 18:06:03 +0530 Subject: [PATCH] fix: Unable to proceed to the next tab from Invite new members with Enter key. Signed-off-by: Krishna Gupta --- src/pages/InviteReportParticipantsPage.tsx | 2 +- src/pages/RoomInvitePage.tsx | 2 +- src/pages/workspace/WorkspaceInvitePage.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/InviteReportParticipantsPage.tsx b/src/pages/InviteReportParticipantsPage.tsx index 78cb5dfcd991..00ebeac1ac43 100644 --- a/src/pages/InviteReportParticipantsPage.tsx +++ b/src/pages/InviteReportParticipantsPage.tsx @@ -197,7 +197,7 @@ function InviteReportParticipantsPage({betas, personalDetails, report, didScreen onSubmit={inviteUsers} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto]} enabledWhenOffline - disablePressOnEnter + disablePressOnEnter={false} /> ), [selectedOptions.length, inviteUsers, translate, styles], diff --git a/src/pages/RoomInvitePage.tsx b/src/pages/RoomInvitePage.tsx index afa57755ad70..362c9a0365a7 100644 --- a/src/pages/RoomInvitePage.tsx +++ b/src/pages/RoomInvitePage.tsx @@ -266,7 +266,7 @@ function RoomInvitePage({ onSubmit={inviteUsers} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto, styles.mb5, styles.ph5]} enabledWhenOffline - disablePressOnEnter + disablePressOnEnter={false} isAlertVisible={false} /> diff --git a/src/pages/workspace/WorkspaceInvitePage.tsx b/src/pages/workspace/WorkspaceInvitePage.tsx index 35cbf4db3581..caed9503c2d2 100644 --- a/src/pages/workspace/WorkspaceInvitePage.tsx +++ b/src/pages/workspace/WorkspaceInvitePage.tsx @@ -285,7 +285,7 @@ function WorkspaceInvitePage({route, betas, invitedEmailsToAccountIDsDraft, poli message={policy?.alertMessage ?? ''} containerStyles={[styles.flexReset, styles.flexGrow0, styles.flexShrink0, styles.flexBasisAuto]} enabledWhenOffline - disablePressOnEnter + disablePressOnEnter={false} /> ), [inviteUser, policy?.alertMessage, selectedOptions.length, shouldShowAlertPrompt, styles, translate],