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.
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! 💯