Skip to content

Conversation

@ogabek0201
Copy link

No description provided.

- Backspace: if current field has a value, clear it and keep focus; if empty, clear previous field and move focus left.
- changeCodeAtFocus: write '' when input is empty to avoid inserting `undefined`.
- Minor: format container style Object.assign into multiline for readability.

Result: smoother OTP UX (no unexpected jumps) and no undefined entries in the OTP array.
@pantoaibot
Copy link

pantoaibot bot commented Nov 4, 2025

Do you want me to review this PR? Please comment /review .

@ogabek0201 ogabek0201 closed this Nov 4, 2025
@ogabek0201 ogabek0201 deleted the IT-8 branch November 4, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant