diff --git a/flow-dnd/src/main/resources/META-INF/resources/frontend/dndConnector.js b/flow-dnd/src/main/resources/META-INF/resources/frontend/dndConnector.js index 117b7489b7a..7dcb97512bf 100644 --- a/flow-dnd/src/main/resources/META-INF/resources/frontend/dndConnector.js +++ b/flow-dnd/src/main/resources/META-INF/resources/frontend/dndConnector.js @@ -68,7 +68,7 @@ window.Vaadin.Flow.dndConnector = { if (element['__active']) { element.addEventListener('dragenter', this.__ondragenterListener, false); element.addEventListener('dragover', this.__ondragoverListener, false); - element.addEventListener('dragleave', this.__ondragleaveListener, true); + element.addEventListener('dragleave', this.__ondragleaveListener, false); element.addEventListener('drop', this.__ondropListener, false); } else { element.removeEventListener('dragenter', this.__ondragenterListener, false);