Skip to content

Commit

Permalink
fix: email otp autofocus
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir committed Jan 2, 2024
1 parent ddb5bf4 commit 74b0701
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui/src/composites/wui-otp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export class WuiOtp extends LitElement {
if (numericElements) {
this.numerics = Array.from(numericElements)
}
this.numerics[0]?.focus()
}

// -- Render -------------------------------------------- //
Expand Down

0 comments on commit 74b0701

Please sign in to comment.