Mobile responsiveness

when testing my mobile responsiveness on my phone, each time i input a figure the cursor goes back to the left making my text to move from right to life instead of left to right.

Can you provide an example on codepen or jsfiddle?