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

Improve focus handling

Open ceejae-cashew opened this issue 1 year ago • 1 comments

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).

Screenshot 2023-10-02 at 1 21 13 PM

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

ceejae-cashew avatar Oct 02 '23 09:10 ceejae-cashew

Hello here !

I'm not sure what are you expect as a solution :/

Feel free to open a PR or give more details plz :)

viclafouch avatar Feb 13 '24 17:02 viclafouch