react-number-format
react-number-format copied to clipboard
Extra whitespace appearing when highlighting field with no "mask" prop set
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.