Closed JaronrH closed 2 years ago
Thanks for reporting! Do you know of any workarounds or polyfills for setDragImage()
to make it work on Edge / IE?
Sorry but I have not found a work around or pollyfill to make it work yet. For now, I just commented the above out in the npn source to avoid the issue entirely!
Maybe that works? https://github.com/MihaiValentin/setDragImage-IE
That works for me in my Angular-App
Okay do not really work with strict mode :(
so "fixed" my problem. I do not care about IE11 setDragImage function so i have done a polyfill like this:
if ('function' !== typeof DataTransfer.prototype.setDragImage) { DataTransfer.prototype.setDragImage = function(image, offsetX, offsetY) { }; }
Closing this one as by now Edge uses Chromium.
Edge throws an error when using Drag-Drop with a handle due to setDragImage() not being a valid function. Fix (for now) was to comment out the following in ngx-drag-drop.es5.js/ngx-drag-drop.js so that it isn't called: