medipass / react-payment-inputs

A React Hook & Container to help with payment card input fields.
https://medipass.github.io/react-payment-inputs
342 stars 62 forks source link

fix: Fix input cursor jumping to wrong position on ELO type #32

Open raisiqueira opened 4 years ago

raisiqueira commented 4 years ago

Fixed the cursor position when the input mask are applied to ELO type.

Tested with 6362970000457013 and 6362971747129170 card numbers

Signed-off-by: Raí Siqueira rai93siqueira@gmail.com