Skip to content

OTP Input Only Populates First Digit on Chrome iOS #6421

@veronQ

Description

@veronQ

Preliminary Checks

  • I have reviewed the documentation: https://clerk.com/docs

  • I have searched for existing issues: https://github.com/clerk/javascript/issues

  • I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)

  • This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.

Reproduction

N/A

Publishable key

N/A

Description

On Chrome iOS, using the iOS auto-fill feature by tapping the “From Messages” suggestion only fills in the first digit of the 6-digit OTP code. Since the message is deleted immediately after auto-fill, users are forced to request a new OTP and enter it manually.

Steps to reproduce:

Step 1. Use the @clerk/clerk-react SignIn component with default settings.
Step 2. On an iPhone using Chrome, request a 6-digit OTP code.
Step 3. Tap the "From Messages" auto-fill suggestion.
Step 4. Only the first digit of the OTP is populated.

Expected behavior:

All 6 digits should be populated.

Actual behavior:

Only the first digit is populated.

Screen Recording

ScreenRecording_07-29-2025.18-03-36_1.mov

Environment

- OS: IOS
- Browser: Chrome
- Version: 138.0.7204.156

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingsdk

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions