diff --git a/api/js/egw_action/egw_action_dragdrop.js b/api/js/egw_action/egw_action_dragdrop.js index c8cef2e38d..462775661a 100644 --- a/api/js/egw_action/egw_action_dragdrop.js +++ b/api/js/egw_action/egw_action_dragdrop.js @@ -282,6 +282,8 @@ export function egwDragActionImplementation() if (helper) helper.remove(); const draggable = document.querySelector('.drag--moving'); if (draggable) draggable.classList.remove('drag--moving'); + // cleanup drop hover class from all other DOMs if there's still anything left + Array.from(document.getElementsByClassName('et2dropzone drop-hover')).forEach(_i=>{_i.classList.remove('drop-hover')}) }; // Drag Event listeners