From d0372ec886957f663ca658439716861b18a31491 Mon Sep 17 00:00:00 2001 From: Daan Knippers <38946115+temp5@users.noreply.github.com> Date: Tue, 5 Jun 2018 14:49:32 +0200 Subject: [PATCH] fix(drag): style assignment for dragged element on IE (#33) Fixes #29 --- src/draggable.directive.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/draggable.directive.ts b/src/draggable.directive.ts index 7da890f..1466d83 100644 --- a/src/draggable.directive.ts +++ b/src/draggable.directive.ts @@ -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 + '' ); } });