diff options
author | bob <bcz@cs.brown.edu> | 2019-07-08 13:54:35 -0400 |
---|---|---|
committer | bob <bcz@cs.brown.edu> | 2019-07-08 13:54:35 -0400 |
commit | 65942b78ba3f927beacf19a5d8b751442ba40fda (patch) | |
tree | e1a8c5a8ce3f17daa5b2f73006888312e09395cb /src/client/util/DragManager.ts | |
parent | 5348a12503ccfd8d0f67085b189f8ab0037a1edd (diff) | |
parent | b2dc1c1d5e31a6241851d418db3a64ae6ca4dde8 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r-- | src/client/util/DragManager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts index a269d7eba..6c2340d04 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -41,8 +41,8 @@ export function SetupDrag( let onItemDown = async (e: React.PointerEvent) => { if (e.button === 0) { e.stopPropagation(); - e.preventDefault(); if (e.shiftKey && CollectionDockingView.Instance) { + e.persist(); CollectionDockingView.Instance.StartOtherDrag(e, [await docFunc()]); } else { document.addEventListener("pointermove", onRowMove); |