Skip to content

Commit

Permalink
fix: Unable to proceed to the next tab from Invite new members with E…
Browse files Browse the repository at this point in the history
…nter key.

Signed-off-by: Krishna Gupta <[email protected]>
  • Loading branch information
Krishna2323 committed Jun 27, 2024
1 parent 9d8e7fe commit 4ac6f30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/InviteReportParticipantsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion src/pages/RoomInvitePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/WorkspaceInvitePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 4ac6f30

Please sign in to comment.