insin / react-maskedinput

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

Issue with copy and paste event #103

Open Nikhil783 opened 7 years ago

Nikhil783 commented 7 years ago

I tried to copy some numeric text and paste into mask, then it throws an error.

MichalZalecki commented 7 years ago

@Nikhil783 What text for what mask and what error?

aamirmukaram commented 7 years ago

mask -> "11111-1111111-1" text -> 35202-9441699-9 Error: Uncaught TypeError: Cannot read property 'selection' of undefined

jCobbSK commented 7 years ago

Fix created in PR #108

adamborowski commented 6 years ago

can you make a patch release 4.0.1 with that fix?

Regards, Adam

renarsvilnis commented 6 years ago

@adamborowski Can confirm 4.0.1 fixed my Uncaught TypeError: Cannot read property 'selection' of undefined error.

2vsl commented 6 years ago

Hello! What's about fix for this bug ?

jCobbSK commented 6 years ago

@2vsl Fix is part of 4.0.1 release.

zxqx commented 6 years ago

Getting a similar issue with the (111) 111-1111 mask. No errors in the console but pasting doesn't work, whether it's an incomplete or complete phone number.

MohitKashyap commented 5 years ago

getting similar issue with (111) 111-1111 format .Pasting doesn't work.no error in console...