diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-20 17:01:39 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-20 17:01:39 -0400 |
commit | e613f4ebc268bb9d8a0bd1ea2f07fef73a870199 (patch) | |
tree | 4b56c47df5e745c988d9a691b7130366ff86e406 /src/client/util/DragManager.ts | |
parent | 30b92fe6e39ffba2d55cc3f83e9d18d3d7bcf036 (diff) |
fixed noAutoscroll functionality for creator icons
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, |