input-otp-native icon indicating copy to clipboard operation
input-otp-native copied to clipboard

OTP Input Auto-Focuses on Load but Keyboard Doesn’t Show — How to Fix?

Open ysnbyzli opened this issue 8 months ago • 1 comments

I’m programmatically focusing the OTP input when the page loads. The input field is correctly focused, but the keyboard does not appear on mobile devices. How can I fix this issue so the keyboard opens automatically when the input is focused?

ysnbyzli avatar Apr 20 '25 12:04 ysnbyzli

Hey @ysnbyzli, not sure what you mean by programmatically focusing the OTP here but i think you can easly add autoFocus to the input and should be working as expected

yjose avatar Apr 20 '25 14:04 yjose