Skip to content

Commit

Permalink
Revert "fix: use capture for dragLeave (#20291)" (#20822) (#20826)
Browse files Browse the repository at this point in the history
This reverts commit 17042ce.

Co-authored-by: Teppo Kurki <teppo.kurki@vaadin.com>
  • Loading branch information
vaadin-bot and tepi authored Jan 9, 2025
1 parent 8f8678d commit 22a09eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 22a09eb

Please sign in to comment.