diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-07-21 17:18:02 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-07-21 17:18:02 +0530 |
commit | 35d50f895b59162f40cea644f97818579aace9e5 (patch) | |
tree | 0f7c0165c4c96248ab1e19a6b57aa704f21d491b /src/client/util/DragManager.ts | |
parent | c4499c610f377be4b80cf2999d25f97b619d4727 (diff) | |
parent | 4cc4f636fdf020e001c78a58b771032f94396fa1 (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.ts | 2 |
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, |