ngx-mask
ngx-mask copied to clipboard
Issue with cursor placement after decimal is removed using mask="separator.2" and separatorLimit
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.
- If I enter 40.32 and remove the decimal, the value becomes 40 and the cursor jumps to first position.
- . If I enter 40.3 and remove the decimal, the value becomes 40 and the cursor jumps to second position.
Thank you.