The problem is a numeric input where the number can contain 10 or 11 digits.
If it has 10 digits, the mask should be (00) 0000-0000, if it has 11 digits, the mask should be (00) 0 0000-0000.
I tried to use (00) 9 0000-0000 but didn't work well.
Can someone help me?
I have the same problem
I have the same fucking problem
I found this soluction:
just checking, I'm also facing the same scenario where same input has to support 2 different masks
Yes, there is:

bottom of https://github.com/JsDaddy/ngx-mask
Most helpful comment
Yes, there is:

bottom of https://github.com/JsDaddy/ngx-mask