@bobfrankston/rmfmail 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6456,7 +6456,10 @@ function renderNode(node, container, depth) {
6456
6456
  }, DRAG_HOVER_EXPAND_MS);
6457
6457
  }
6458
6458
  });
6459
- folderEl.addEventListener("dragleave", () => {
6459
+ folderEl.addEventListener("dragleave", (e) => {
6460
+ const to = e.relatedTarget;
6461
+ if (to && folderEl.contains(to))
6462
+ return;
6460
6463
  folderEl.classList.remove("drop-target");
6461
6464
  if (dragExpandTimer) {
6462
6465
  clearTimeout(dragExpandTimer);