jQuery-Mask-Plugin icon indicating copy to clipboard operation
jQuery-Mask-Plugin copied to clipboard

Typing at the begining of a filled input

Open yann-eugone opened this issue 11 years ago • 3 comments

Hi, we've discovered a strange behavior of the component.

Reproducing the issue

  • initialize a date input with some data (fill it with your keyboard)
  • put the cursor at the beginning of the input
  • try to replace the value by typing again

Noticed behavior

The input is replaced, but the cursor is kept at the begining of the input, which is a very odd behavior, as the user do not know where his cursor is.

Any help whould be appreciated.

yann-eugone avatar Sep 30 '15 07:09 yann-eugone

I confirm.

The cursor is kept at the beginning of the input. Actually the cursor is kept where ever inside the string you place it and start typing.

Is there a fix for this?

gparissis avatar Oct 19 '15 14:10 gparissis

Same problem here! It seems that the curser position should be recalculated after each key press...

gregaubert avatar Dec 17 '15 13:12 gregaubert

Already fixed on new version.

igorescobar avatar Mar 06 '16 21:03 igorescobar