I am having an issue and I can't figure out what is causing the cursor to jump to the end of text input. If you just try your demo -$42,069.33 and just type in like 1 before the comma -- its ok and then 2 -- the cursor jumps to the end of the input. I tried looking at the routine where you make the call inputElement?.setSelectionRange(endCaretPosition, endCaretPosition); -- I can't figure out what it is.
I am having an issue and I can't figure out what is causing the cursor to jump to the end of text input. If you just try your demo -$42,069.33 and just type in like 1 before the comma -- its ok and then 2 -- the cursor jumps to the end of the input. I tried looking at the routine where you make the call
inputElement?.setSelectionRange(endCaretPosition, endCaretPosition);
-- I can't figure out what it is.Thanks, Mark