@jsenv/dom 0.17.66 → 0.17.67
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.
- package/dist/jsenv_dom.js +9 -1
- package/package.json +1 -1
package/dist/jsenv_dom.js
CHANGED
|
@@ -15269,7 +15269,15 @@ const startDragToCarryCopy = (
|
|
|
15269
15269
|
// copy at scale 1 as the "new" state.
|
|
15270
15270
|
clone.removeAttribute("navi-drag-clone");
|
|
15271
15271
|
};
|
|
15272
|
-
|
|
15272
|
+
try {
|
|
15273
|
+
await answer(syncCloneWithDropTarget);
|
|
15274
|
+
} catch {
|
|
15275
|
+
// Coming down on a place can be a QUESTION, and the answer may be
|
|
15276
|
+
// no. Refused, the thing is still where it was and the screen has
|
|
15277
|
+
// to say so: the copy takes the same journey home a refused throw
|
|
15278
|
+
// takes — from wherever it got to, which is where it visibly is.
|
|
15279
|
+
await settleCloneBack(cloneWrapper, draggedElement);
|
|
15280
|
+
}
|
|
15273
15281
|
};
|
|
15274
15282
|
|
|
15275
15283
|
if (dropMeans === "toss") {
|