-
Notifications
You must be signed in to change notification settings - Fork 44
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
Invalid cursor position #65
Comments
Hi, currently we handle similar case with toLowerCase. Though it's hardcoded now. We will probably add |
We found interesting solution. It will be another transformation prop with saving cursor position. |
this works with new |
I could achive the described behavior only by:
If this is the only way I can do it, then it's quite sad because:
A better solution would be introducing a preprocessor function. A good candidate for it is the What do you think about it? |
looks like good idea 👍 |
We want to allow user to type any digit, dot or comma symbols and replace comma with dot on the fly.
But when user types comma symbol cursor visually jumps to the wrong position before new dot symbol.
Sandbox example:
https://codesandbox.io/s/istarkovrifm-numberformat-e6jfu?fontsize=14
The text was updated successfully, but these errors were encountered: