reppners / ngx-drag-drop

Angular directives using the native HTML Drag And Drop API
https://reppners.github.io/ngx-drag-drop/
BSD 3-Clause "New" or "Revised" License
300 stars 119 forks source link

[Chrome] Drag event does not fire when password input is clicked first #20

Closed nico281 closed 1 year ago

nico281 commented 6 years ago

Hi reppners, how are you? I'm facing a new particular issue using a input password. The thing is, if i focus the input or try to type on it, the dndDraggingSource don't appear on the element disabling the ability to drag the input. I need to click somewhere else to lose the input focus and then the drag start to work. Is very strange because the issue is only with type password.

reppners commented 6 years ago

Hi, thanks for reporting.

So far I've not been able to reproduce your issue.

Can you help me reproduce it based on this https://stackblitz.com/edit/ngx-drag-drop-issue-20?file=src%2Fapp%2Fapp.component.html

nico281 commented 6 years ago

hi, reppners i figured out the problem. The problem is on chrome. i tried to reproduce it on firefox and edge and it works fine. So try it on chrome. type on the input and try to drag.

cheers

reppners commented 6 years ago

Hi nico,

confirmed! Thanks 👍

It's a bug in chromium, you can follow progress at https://bugs.chromium.org/p/chromium/issues/detail?id=808344&q=password%20drag&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified

Maybe we are able to find a workaround until chromium gets to fix this.

nico281 commented 6 years ago

oh thanks!!

ChristofFritz commented 1 year ago

Stale issue.