aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/DragManager.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-07-21 17:18:02 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-07-21 17:18:02 +0530
commit35d50f895b59162f40cea644f97818579aace9e5 (patch)
tree0f7c0165c4c96248ab1e19a6b57aa704f21d491b /src/client/util/DragManager.ts
parentc4499c610f377be4b80cf2999d25f97b619d4727 (diff)
parent4cc4f636fdf020e001c78a58b771032f94396fa1 (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into acls_uv
Diffstat (limited to 'src/client/util/DragManager.ts')
-rw-r--r--src/client/util/DragManager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/DragManager.ts b/src/client/util/DragManager.ts
index 6a3108157..007336190 100644
--- a/src/client/util/DragManager.ts
+++ b/src/client/util/DragManager.ts
@@ -435,7 +435,7 @@ export namespace DragManager {
const complete = new DragCompleteEvent(false, dragData);
- if (target && !options?.noAutoscroll) {
+ if (target && !options?.noAutoscroll && !dragData.draggedDocuments?.some((d: any) => d._noAutoscroll)) {
target.dispatchEvent(
new CustomEvent<React.DragEvent>("dashDragging", {
bubbles: true,