You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the OTP is complete, no line should appear on the far left.
Current Behavior
On iOS Safari, when the OTP is complete a line appears on the far left, it disappears if you remove a character, and it reappears on completion. See below:
Screen.Recording.2024-11-06.at.16.34.17.mov
Possible Solution
I've tried to mask it but to no avail – it appears to be something to do with the iOS native caret (but I could be wrong)
Make sure the theme is light mode so you can see the line
Fill out any of the OTP examples – note that on the last char entered a line appears to the left of the container
Context (Environment)
I'm putting together an OTP component and recently moved from an in-house version to shadcn for consistency. It's all good on desktop but on iOS (which is where the majority of our customers are) it shows the little line before the code is submitted.
The text was updated successfully, but these errors were encountered:
Version of the library: latest
Expected Behavior
When the OTP is complete, no line should appear on the far left.
Current Behavior
On iOS Safari, when the OTP is complete a line appears on the far left, it disappears if you remove a character, and it reappears on completion. See below:
Screen.Recording.2024-11-06.at.16.34.17.mov
Possible Solution
I've tried to mask it but to no avail – it appears to be something to do with the iOS native caret (but I could be wrong)
Steps to Reproduce
Context (Environment)
I'm putting together an OTP component and recently moved from an in-house version to shadcn for consistency. It's all good on desktop but on iOS (which is where the majority of our customers are) it shows the little line before the code is submitted.
The text was updated successfully, but these errors were encountered: