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

Invalid behavior for month mask

Open bartlomiejgawel opened this issue 4 years ago • 0 comments

🐞 bug report

Is this a regression?

Probably not.

Description

If you type a month that is less than 10 and then try to type more numbers, the cursor stays right after the month mask, giving the wrong value.

🔬 Minimal Reproduction

Go to the website and try to type 1/34. It also occurs in your own example here. I expect to see the same value but it is equal to 1/43.

🌍 Your Environment

Angular CLI: 11.2.1
Node: 15.8.0
OS: win32 x64

Angular:
...
Ivy Workspace:

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1102.1 (cli-only)
@angular-devkit/core         11.2.1 (cli-only)
@angular-devkit/schematics   11.2.1 (cli-only)
@schematics/angular          11.2.1 (cli-only)
@schematics/update           0.1102.1 (cli-only)

bartlomiejgawel avatar Mar 30 '21 12:03 bartlomiejgawel