guilhermerodz / input-otp

One time passcode Input. Accessible & unstyled.
https://input-otp.rodz.dev
MIT License
2.38k stars 50 forks source link

erasing character moves the other values to the left #1

Closed vitordino closed 6 months ago

vitordino commented 6 months ago

idk if intended behavior tho

https://github.com/guilhermerodz/input-otp/assets/5063967/25be1f44-6027-4208-a0e6-1b50ae8a5353

guilhermerodz commented 6 months ago

That's indeed the intended behavior. However, I can't tell what's the best UX possible just yet.

We might be able to add support to other behaviors as well.