Skip to content

Commit bfe9bb4

Browse files
committed
fix: remove automatic pointer-events:none on dragged element
BREAKING CHANGE: To migrate use the `dragActiveClass` option and set this yourself with css
1 parent dd3e89e commit bfe9bb4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/draggable.directive.ts

-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ export class DraggableDirective implements OnInit, OnChanges, OnDestroy {
360360
if (this.ghostElement) {
361361
const transform = `translate(${x}px, ${y}px)`;
362362
this.setElementStyles(this.ghostElement, {
363-
pointerEvents: 'none',
364363
transform,
365364
'-webkit-transform': transform,
366365
'-ms-transform': transform,

0 commit comments

Comments
 (0)