Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show entire code when pasting #29

Merged
merged 1 commit into from Nov 28, 2019

Conversation

mozesma
Copy link
Contributor

@mozesma mozesma commented Sep 1, 2019

on iOS device when you start an OTP flow (SMS verification) and you get the SMS, the keyboard will suggest the use the code from the SMS, tapping that suggestion will paste the code in the PinCodeTextField.

the logic works, but visually in this case you will only see the last digit on the last place, and the rest of the fields will remain empty.

this fix makes it so whenever a text is change it will fill all of the input text from the last known position up to the text.length, therefore resolving the above issue

@LiewJunTung
Copy link
Owner

I'm not too familiar with such flow. Is it possible for you to send me a video how it works, please?

@agacia
Copy link

agacia commented Nov 28, 2019

@LiewJunTung, Take a look at this GIF confirming that this fix works. Looking forward to seeing this fix merged!
fix

@mozesma, Thank you!

@LiewJunTung
Copy link
Owner

I see, alright. I'll believe you @agacia . 😄
Will have this in the upcoming version

@LiewJunTung LiewJunTung merged commit 23a65c4 into LiewJunTung:master Nov 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants