Cursor auto move to the end
tonynguyenit18 opened this issue · 2 comments
tonynguyenit18 commented
When moving the cursor to any group number except the last one, after adding a number the cursor auto move to the end.
Ex: I have a phone number like +61 475 888 678. When I move the cursor to between 4 and 7 in 475 and add the number 6 the phone number become +61 467 88 8678(correct) but the cursor doesn't stay after 6, instead, it moves to the end.
mukeshsoni commented
@tonygentilcore I will need more detail. I don't understand it at all. Can you provide more detail with a codesandbox link, if possible?
uddeh007 commented
Hi @mukeshsoni Getting the same issue. When I try to edit between any phone number my cursor moves to the end.
sharing codesandbox link pfa.
https://codesandbox.io/s/unruffled-bessie-ml1l1t?file=/src/App.js