Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
m-orsh opened this issue Sep 3, 2024 · 0 comments
Open

Comments

@m-orsh
Copy link

m-orsh commented Sep 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant