diff --git a/src/index.tsx b/src/index.tsx index 7fd9e45..7aa05fc 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -152,6 +152,13 @@ const OtpInputs = forwardRef( ) { handleInputTextChange(text, index); } + + if (Platform.OS === 'ios' && index === 0 && text.length > 1) { + inputs.current[index]?.current?.setNativeProps({ + value: text[0], + text: text[0], + }); + } }; const handleKeyPress = (