ngx-mask icon indicating copy to clipboard operation
ngx-mask copied to clipboard

Issue with cursor placement after decimal is removed using mask="separator.2" and separatorLimit

Open tp1906 opened this issue 1 year ago • 0 comments

When I attempt to remove a decimal on an input with mask="separator.2" and separatorLimit="10", the cursor jumps to an incorrect position. See attached screenshots.

  1. If I enter 40.32 and remove the decimal, the value becomes 40 and the cursor jumps to first position.
  2. . If I enter 40.3 and remove the decimal, the value becomes 40 and the cursor jumps to second position.

Thank you. entry with xx xx entry entry with xx xx entry - decimal removed entry with xx x entry - decimal removed entry with xx x entry

tp1906 avatar Sep 13 '24 14:09 tp1906