We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b5469 commit a60104cCopy full SHA for a60104c
1 file changed
apps/webpage/src/main.ts
@@ -563,7 +563,10 @@ const app = {
563
e.preventDefault();
564
565
const droppedOnId =
566
- target.getAttribute("data-drag-item") ?? target.id ?? null;
+ target.getAttribute("data-drag-item") ||
567
+ target.id ||
568
+ target.getAttribute("data-drop-zone") ||
569
+ null;
570
const rect = target.getBoundingClientRect();
571
const dropBefore = e.clientY < rect.top + rect.height / 2;
572
const hostEl = this.findHost(target);
0 commit comments