ngneat / input-mask

🎭 @ngneat/input-mask is an angular library that creates an input mask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cursor jumps on first digit

leon-meka opened this issue · comments

I'm submitting a bug


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior

Cursor jumps to the right of the first numeric position, when having a groupSelector set.

Example:
b9cbee73-b120-4b39-be65-2fbe19e7268f

Expected behavior

Cursor should be positioned to the left of the first numeric position.

Minimal reproduction of the problem with instructions

(see gif above)

Environment

https://stackblitz.com/edit/angular-ivy-ikuzc4?file=src%2Fapp%2Fapp.component.ts

Browser:
Every browser

It's the behaviour of original library.