Skip to content

Commit 5cc2702

Browse files
committed
Autofocus the registration text inputs for faster on-boarding flow
1 parent 92809d1 commit 5cc2702

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/desktop/src/renderer/components/CreateJoinCommunity/PerformCommunityActionComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ export const PerformCommunityActionComponent: React.FC<PerformCommunityActionPro
283283
}
284284
type={revealInputValue ? 'text' : 'password'}
285285
value={communityOwnership === CommunityOwnership.User ? field.value.trim() : field.value}
286+
autoFocus
286287
/>
287288
)}
288289
/>

packages/desktop/src/renderer/components/CreateUsername/CreateUsernameComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ export const CreateUsernameComponent: React.FC<CreateUsernameComponentProps> = (
248248
}}
249249
value={field.value}
250250
spellCheck={false}
251+
autoFocus
251252
/>
252253
)}
253254
/>

0 commit comments

Comments
 (0)