Skip to content

Keyboard navigation in PIN-input(OTP) is broke #1869

@artur-demidov

Description

@artur-demidov

Describe the bug

After entering 3+ numbers, keyboard navigation is broke
ArrowLeft doesnt work
ArrowUp, ArrowDown, Home, End, Backspace, Delete works OK

When try rewrite numbers, first number rewrites ok, seconds number inserted with shift previous to the next position
Type 1, Type 2, Type 3, Type 4, Type Home/ArrowUp, Type 5, Type 6
Should be 5634__
But result 56234_

2025-10-28.003326.mp4

Reproduction

https://bits-ui.com/docs/components/pin-input

Logs

System Info

Windows 11, Chrome 141

Severity

annoyance

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions