diff --git a/src/ContainerMixin.js b/src/ContainerMixin.js index 257247b6..438142e1 100644 --- a/src/ContainerMixin.js +++ b/src/ContainerMixin.js @@ -430,7 +430,8 @@ export const ContainerMixin = { const onEnd = () => { // Remove the helper from the DOM - this.helper.parentNode.removeChild(this.helper); + this.helper.remove(); + this.helper = null; if (this.hideSortableGhost && this.sortableGhost) { this.sortableGhost.style.visibility = '';