mui-otp-input
mui-otp-input copied to clipboard
Improve focus handling
I have a use case where as the user types, filled OTP boxes should retain the focused color.
What makes it a little weirder with the current implementation is that I have two focused states (The active OTP box and whichever box is currently hovered).
The ideal expectation is the first 3 OTP boxes should have the active state (since they have values) and the fourth one should also be active because it's the currently focused input.
Great project by the way! 💯
Hello here !
I'm not sure what are you expect as a solution :/
Feel free to open a PR or give more details plz :)