Bug report
Current Behavior
The first input is not focused when the autoFocus prop is set to true for OneTimePasswordField.Root.
Expected behavior
The first input is focused when the autoFocus prop is set to true as described in the docs.
Reproducible example
https://codesandbox.io/p/sandbox/bold-wind-jh7tkm
Suggested solution
Additional context
Your environment
| Software |
Name(s) |
Version |
| Radix Package(s) |
radix-ui |
1.4.1 |
| React |
n/a |
>17.0.1 |