diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2019-06-08 20:48:10 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2019-06-08 20:48:10 -0400 |
| commit | 2500204978e2dd15c439adfc400388b7bb3caa01 (patch) | |
| tree | f25987f36e69688228e2e45e6a729a066bf761ec /src/client/util | |
| parent | 39be491bf3c750902250a0afe0321a05b7643026 (diff) | |
several fixes to templates and a fix for link dragging.
Diffstat (limited to 'src/client/util')
| -rw-r--r-- | src/client/util/DragManager.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index 32476b785..4c9f798a8 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -269,6 +269,7 @@ export namespace DragManager { let lastX = downX; let lastY = downY; const moveHandler = (e: PointerEvent) => { + e.preventDefault(); // required or dragging text menu link item ends up dragging the link button as native drag/drop if (dragData instanceof DocumentDragData) { dragData.userDropAction = e.ctrlKey || e.altKey ? "alias" : undefined; } |
