[Custom Input Masks] Cursor jumps to input field

Forge Component
Published on 23 Jul (3 weeks ago) by Huarlem Lima
44 votes
Published on 23 Jul (3 weeks ago) by Huarlem Lima


I Notice the following behavior in Internet Explorer (in Chrome it is Ok). If i have some logic that change another field that have a Mask, the cursor jumps to the refreshed field.

Ex: I have 3 fields on my screen, A, B and C. The C is the result of A+B. When i edit the value of A or B, because i need to update the field C, the cursor jumps to it. It happens either using Javascript to change the value or some ajax refresh made.

This behaviour is very anoying because if i want to write 100 , i press 1...cursor move out, select the input again and press 0 and move out again...

Any idea how to solve this issue?