dbachelder / CreditCardEntry

Smooth UI for Credit Card Entry on Android device, regex check for supported credit card types and luhn check. Inspired by Square credit card entry interface
MIT License
503 stars 166 forks source link

The cursor will move to the credit card number after finish enter credit card number, exp date and sec code. #23

Closed zzMOM closed 9 years ago

zzMOM commented 9 years ago

I set the credit card form including three field: number, exp date and security code. Finish entering these three field, the cursor will move to last digit of credit card number.

dbachelder commented 9 years ago

I'm not sure I understand.. this does not happen in the demo app, are you sure you are not requesting focus for the CC# field in your code?

zzMOM commented 9 years ago

I am sorry I may decribe clearly. After typing all three fields, the cursor lost, and the view moved to the credit card number field. It happened on some Samsung device. And I attached a picture of this happened on Nenux-5, after typing security code. nexus-5-credit-card-oddity

dbachelder commented 9 years ago

Hmm.. can you share your code or a demo project that reproduces the issue?

dbachelder commented 9 years ago

If you can reproduce and provide steps, please reopen.