diff options
author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 20:48:17 -0700 |
---|---|---|
committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 20:48:17 -0700 |
commit | 0cbf69270e2aa999b81c90f27429756d9fbd5ca2 (patch) | |
tree | 06fb7a175aa1d9e73271c717639e08cc561d6b08 /src/client/util/DragManager.ts | |
parent | 2b3e0ca4f889054020fd9b3c4a1e2db8d57581c1 (diff) | |
parent | aa74a1e78dbd874942def0b763917198df51e01b (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into bug_fixes
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 8bf6faf03..1bd2bdb9d 100644 --- a/src/client/util/DragManager.ts +++ b/src/client/util/DragManager.ts @@ -435,7 +435,7 @@ export namespace DragManager { const target = document.elementFromPoint(e.x, e.y); - if (target && !options?.noAutoscroll && !dragData.draggedDocuments?.some((d: any) => d._noAutoscroll)) { + if (target && !Doc.UserDoc()._noAutoscroll && !options?.noAutoscroll && !dragData.draggedDocuments?.some((d: any) => d._noAutoscroll)) { const autoScrollHandler = () => { target.dispatchEvent( new CustomEvent<React.DragEvent>("dashDragAutoScroll", { |