Skip to content

Commit

Permalink
fix(drag): style assignment for dragged element on IE (#33)
Browse files Browse the repository at this point in the history
Fixes #29
  • Loading branch information
dwknippers authored and mattlewis92 committed Jun 5, 2018
1 parent d1768f7 commit d0372ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/draggable.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ export class DraggableDirective implements OnInit, OnChanges, OnDestroy {
this.dragEnd.next({ x, y });
});
currentDrag.complete();
this.setCssTransform(null);
this.setCssTransform('');
if (this.ghostDragEnabled) {
this.renderer.setStyle(
this.element.nativeElement,
'pointerEvents',
null
''
);
}
});
Expand Down

0 comments on commit d0372ec

Please sign in to comment.