akserg / ng2-dnd

Angular 2 Drag-and-Drop without dependencies
MIT License
839 stars 252 forks source link

mouseup on dragging containers pointer doesnt change back #86

Open crh225 opened 7 years ago

crh225 commented 7 years ago

when dragging containers as seen on your own plunkr: http://akserg.github.io/ng2-webpack-demo/#/dnd after the container is done moving, the cursor is alway locked to cursor:move when hovering back over the container that moved.

navigate: http://akserg.github.io/ng2-webpack-demo/#/dnd scroll all the way down tick drag containers drag container 1 into container 2. move your mouse outside both containers move it back over container 1 it shows the cursor arrows, but the container 2 doesnt until container 2 is clicked and dragged.

on mousedown of container, the mouse cursor changes to move on mouseup of the container, the mouse cursor changes back to pointer

to avoid confusion

all

crivadavi commented 6 years ago

Any news on this issue? It's still present on the version 4.2.0 I tried to restore the cursor dynamically using [style.cursor]="pointer" on the element, or something similar but after the drop it doesn't restore the value