insin / react-maskedinput

Masked <input/> React component
http://insin.github.io/react-maskedinput/
MIT License
730 stars 197 forks source link

Fixed issue with pasting text generates a javascript error #110

Open dnetherton opened 6 years ago

dnetherton commented 6 years ago

I hit a bug, where pasting content in masked input, generates a javascript error.

I havent looked to close, but i suspect, when the component was converted to class format (from createClass()), that the binding for the function _updateInputSelection was missed.

Also, not sure if there are other functions that also need binding.

Regards Dean Netherton

dwbruhn commented 6 years ago

👍