Gusto / react-masked-field

A masked input component built in React
MIT License
19 stars 7 forks source link

Extra chars being added sometimes on keypress #34

Open inoda opened 4 years ago

inoda commented 4 years ago

Steps to reproduce:

  1. Create a SSN mask
  2. Click right before the first "-"
  3. Type "232"
  4. See that what you actually get is ___-23-222_

Another scenario (using SSN mask)

  1. Click to start typing at the 2nd char
  2. Type "23"
  3. Click right before the "2"
  4. Type "1"
  5. See that what you actually get is _23-12-3___