You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Destroying the dragged element before finishing the "avterValidDrop" method was causing problems since the drop event did not finish properly. I've managed to solve it by delaying the destroy action:
Uncaught TypeError: Cannot read property 'dom' of undefined
https://github.com/m4dc4p/draggable/blob/v07182011/draggable.js#L73
Destroying the dragged element before finishing the "avterValidDrop" method was causing problems since the drop event did not finish properly. I've managed to solve it by delaying the destroy action:
setTimeout(function() {droppedPanel.destroy(); }, 0);
PD: Thanks for that excellent example!
The text was updated successfully, but these errors were encountered: