-
Notifications
You must be signed in to change notification settings - Fork 220
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
Fixes #260: Fix cursor position #261
base: master
Are you sure you want to change the base?
Conversation
Can you close this? I fixed this issue some time back, will have a look & fix it But I dont see this happening in our live demo app |
Look at the code from my example #260 . I'm using
to:
in |
can you tell why are you using number? Why can't you use like in example I am just trying to understand the use case. like why would you format a number which has not been completely entered |
My use case is, that I want to show the user the formatted number including the country code. I think the cursor shouldn't brake regardless of what I want to in the input. |
ok got your use case. But I think we need to improve our logic here. Just try this with your change
@tomegz would you like to help us on this? This might help https://github.com/patw0929/react-intl-tel-input/blob/master/src/components/IntlTelInputApp.js#L1180 |
@superhit0 You're right, I didn't take it into account. |
This might help as well https://github.com/patw0929/react-intl-tel-input/pull/221/files |
putting a do not merge for now |
I still have an issue with the curser when I enter any number starting with +2784... the curser will then move to the front of the cell phone number. |
No description provided.