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

After pasting a value on Safari in an input with mask the cursor jumps at the start.

Open bpopnikolov opened this issue 7 years ago • 4 comments

When you paste value in an input with a mask on Safari the cursor jumps back at the start of the input.

demo angular version: 7.2 ngx-mask version: 8.0.1

bpopnikolov avatar Jul 08 '19 15:07 bpopnikolov

I think that I have found the issue and the fix is in the following PR. Please consider approving it if the fix is the correct one.

bpopnikolov avatar Jul 15 '19 10:07 bpopnikolov

I have similiar problem. When i fill the input and try to set cursor somewhere in the middle of the entered value, cursor set on first character every single time

AndonMitev avatar Jul 24 '19 12:07 AndonMitev

Yes, this bug exists on mobile. You are not able to place the cursor somewhere in the middle of the input.

I will investigate and try to open a PR but I feel like it is more complicated to fix.

Can you open another issue for this pls? As it is not safari specific.

bpopnikolov avatar Jul 24 '19 14:07 bpopnikolov

@bpopnikolov Hi, will be fixed in the new version

isysenko avatar Sep 10 '19 10:09 isysenko