The overlaid OTP input has pointer-events: none so clicks land on the decorative boxes, but that also means a tap never reached the real input on a touchscreen (desktop got away with it via autofocus/Tab). Wrapping the boxes in a <label for> restores focus-on-click without adding a DOM child that would throw off the otp box count.
21 KiB
21 KiB