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

Drag&Drop paste issue

bogusweb opened this issue · comments

I'm submitting a...


[ ] 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

If u try select a value in other window or something then try to drag and drop this value in input with mask, this value is not pasted, but without inputMask library the value is pasted.

Angular v13 with @ngneat/input-mask@5.2.0 - https://stackblitz.com/edit/angular-ivy-vpnlko
Angular v11 with @ngneat/input-mask@4.1.1 - https://stackblitz.com/edit/angular-ivy-aq5gkw

Expected behavior

Drag&Drop a value in input with mask should update formControl

Minimal reproduction of the problem with instructions

drag-drop-problem

What is the motivation / use case for changing the behavior?

Environment


Angular version: X.Y.Z


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

How are you able to drag drop the text? Seems like you're using some extension.

nope, its normal behavior in windows, u just select text and u can drag&drop a selected text :D

I don't have windows. Would you like to debug and provide fix?

I'll try when I find some time

@bogusweb can you check if it's an issue with native library?