react-number-format icon indicating copy to clipboard operation
react-number-format copied to clipboard

Extra whitespace appearing when highlighting field with no "mask" prop set

Open m-orsh opened this issue 5 months ago • 0 comments

Describe the issue and the actual behavior

When highlighting a field with no mask prop set, like with shift+A (select all) extra whitespace appears to be highlighted.

Describe the expected behavior

Field should not have extra whitespace appended to the end of the field if no mask prop is specified.

Provide a CodeSandbox link illustrating the issue

https://codesandbox.io/p/sandbox/mask-demo-o06dsx?file=%2Fsrc%2FApp.js%3A19%2C11&from-embed= remove mask prop from documentation's example for the issue to occur

Perhaps there's some other prop that can prevent this...not sure.

m-orsh avatar Sep 03 '24 14:09 m-orsh