react-input-mask icon indicating copy to clipboard operation
react-input-mask copied to clipboard

Pasting a value doesn't work right

Open thany opened this issue 5 years ago • 3 comments

In the demo's, go to the second one and fill in a number. Then, cut the entire value, and paste it right back.

Expected result: The input contains the value that was cut and pasted back in.

Actual result: I don't know, there's some kind of missing or extra character. The value is not same, whatever the case.

thany avatar Jul 02 '20 13:07 thany

@thany Did you find a way to resolve this?

christy-schott avatar Apr 07 '21 16:04 christy-schott

@christy-schott I haven't actually used this component yet. I was just exploring which one to use, but in the end, we decided on no masks at all 🤷‍♂️ But I thought it'd be helpful to report this issue anyway.

thany avatar Apr 15 '21 08:04 thany

Indeed it pastes back in the first 7:

Screenshot from 2023-02-25 05-38-53

After cutting and pasting back in:

Screenshot from 2023-02-25 05-39-43

ianchanning avatar Feb 25 '23 04:02 ianchanning