Closed AayushKarki714 closed 2 months ago
@guilhermerodz can you please help me with this.
@AayushKarki714 I don't get exactly what this means. The input-otp
is a single HTML input, which means pressing tab twice will focus 1. on your OTP input (not per each slot but for the whole input), then will focus 2. on your dialog.
Is that behavior any different when outside of a dialog?
Closing this issue temporarily while I can't reproduce it locally. Can you provide a CodeSandbox or something like that?
Thanks for such an awesome library. I am facing an issue. Why doesn't it work as expected when used within dialog. When input-otp is focused and then I press tab to focus the next interactive element. It skips over the interactive element below it and focuses on the DialogContent.
Here is short demo:
https://github.com/user-attachments/assets/4787751b-f192-438a-87c3-ce7d3cd71877