When you set focus on a masked text box that has an existing value, the cursor position is reset to the beginning of the input - even if there is no mask.
If there is no mask (i.e so its acting as free text) - don't reset the cursor position on focus, instead, behave like an ordinary input box.
Darrell Tunnell commented
For example, clicking on a masked textbox in chrome, to set the cursor here like this:
The widget actually sets the cursor position to this:
I am not entirely sure why it tries to reset the position, but I am assuming it is for masks that want input in a given an order from start to finish? Perhaps someone can explain to me the value of resetting the cursor position to the start?
However if there is no mask, this behaviour seems confusing, so thats where I propose we don't reset the cursor position.