When the user changes the input value, then the cursor moves to the very end of the input.
I initially thought this was caused by the onChange callback, but
onChange