tttstudios / react-native-otp-input

Tiny Javascript library which provides an elegant UI for user to input one time passcode.
MIT License
539 stars 242 forks source link

First input is filled with all the numbers in ios #34

Closed rajatgalav closed 4 years ago

rajatgalav commented 4 years ago

I am using OTPInputView for ios.

            <OTPInputView
                    style={{width: '80%', height: 200}}
                    pinCount={6}
                    codeInputFieldStyle={{
                        fontSize: 18,
                        width: 30,
                        height: 45,
                        borderWidth: 0,
                        borderBottomWidth: 1,
                    }}
                    codeInputHighlightStyle={{borderColor: "#03DAC6",}}
                    onCodeFilled = {(code) => this.verify(code)}
                />

When i click on keyboard clipboard to read otp, whole value is filled in first input field and only last two numbers are shown in the input field. After some time it spread to whole 6 input fields.

Zhark10 commented 4 years ago

same problem. the bug is still repeating.

AndriiBoiko commented 4 years ago

Hi! Any updates?

fareedagha commented 4 years ago

any updates? facing same issue

dcosmin2003 commented 4 years ago

This issue is also visible on the demo GIF :)

Nikualla1 commented 1 year ago

Why is this closed?