braintree / restricted-input

Restrict <input>s to certain valid characters (e.g. formatting phone or card numbers)
https://braintree.github.io/restricted-input/
MIT License
68 stars 25 forks source link

bug: input errors in Android Chrome #95

Closed brandon-garcia closed 11 months ago

brandon-garcia commented 2 years ago

General information

Issue description

https://codepen.io/brandon-garcia/pen/poaWzvg

If you load up the above codepen link on android chrome, tested myself with a samsung device, and type "123456" You will sometimes see "1234 556" where the "5" keypress registered twice. This doesn't always happen but happens often enough that in 1 or 2 refreshes you should be able to get this behavior.

Other issues occasionally observed but not yet replicated via codepen:

hollabaq86 commented 2 years ago

👋 @brandon-garcia thanks for the issue, we'll have someone take a look and follow up with feedback.

If you are able to reliably replicate certain numbers not being registered, please feel free to make a new issue with those steps so we can track these separately.

Thanks!

hollabaq86 commented 11 months ago

Closing as we weren't able to replicate