-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deletion of text does not work properly in Chrome with ViewEncapsulation.ShadowDom #909
Comments
andrewritchie
pushed a commit
to andrewritchie/ngx-mask
that referenced
this issue
Jun 8, 2021
…ot would not be found by mask.
Closed
13 tasks
xakeppok
pushed a commit
that referenced
this issue
Apr 14, 2022
xakeppok
pushed a commit
that referenced
this issue
Apr 14, 2022
xakeppok
pushed a commit
that referenced
this issue
Apr 14, 2022
xakeppok
pushed a commit
that referenced
this issue
Apr 26, 2022
xakeppok
pushed a commit
that referenced
this issue
Apr 27, 2022
NepipenkoIgor
pushed a commit
that referenced
this issue
Apr 27, 2022
@andrewritchie Hi thank you that using ngx-mask . Please use ngx-mask >=13.1.12 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Is this a regression?
No; I tested this with both 10.x and 12.0.0 and this does not work with either.
Description
Specifying an input mask with [showMaskTyped]="true", or an input mask with special characters that involve spaces, such as the phone number mask "(000) 000-0000", does not work allow proper deletion of characters in desktop browsers if the component's encapsulation is set to ViewEncapsulation.ShadowDom.
With showMaskTyped=true, only the last character is deleted when backspace is pressed if the encapsulation is ViewEncapsulation.ShadowDom.
With showMaskTyped=false, the space after the ) in the mask prevents further backspacing if the encapsulation is ViewEncapsulation.ShadowDom
🔬 Minimal Reproduction
https://stackblitz.com/edit/angular-ivy-v4yznq
🔥 Exception or Error
None
🌍 Your Environment
Angular Version:
Anything else relevant?
I tested this with Google Chrome 91.0.4472.77.
I have attempted reproducing this on Chrome on my Android phone, and was unable to do so.
The text was updated successfully, but these errors were encountered: