Skip to content

Commit d0372ec

Browse files
dwknippersmattlewis92
authored andcommitted
fix(drag): style assignment for dragged element on IE (#33)
Fixes #29
1 parent d1768f7 commit d0372ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/draggable.directive.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ export class DraggableDirective implements OnInit, OnChanges, OnDestroy {
223223
this.dragEnd.next({ x, y });
224224
});
225225
currentDrag.complete();
226-
this.setCssTransform(null);
226+
this.setCssTransform('');
227227
if (this.ghostDragEnabled) {
228228
this.renderer.setStyle(
229229
this.element.nativeElement,
230230
'pointerEvents',
231-
null
231+
''
232232
);
233233
}
234234
});

0 commit comments

Comments
 (0)