Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Sep 9, 2023
1 parent b922057 commit 8d03eaf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/dragdrop/dom-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,9 +210,12 @@ export class DragDropDOMAdapter implements IDragDropDOMAdapter {
cancelAnimationFrame(this.scrollIntervalId);
const startScrollBoundary = 100;

this.draggedElementShortcut.hidden = true;
const displayProp = this.draggedElementShortcut.style.display;
//this.draggedElementShortcut.hidden = true;
this.draggedElementShortcut.style.display = "none";
let dragOverNode = <HTMLElement>document.elementFromPoint(clientX, clientY);
this.draggedElementShortcut.hidden = false;
//this.draggedElementShortcut.hidden = false;
this.draggedElementShortcut.style.display = displayProp || "block";

let scrollableParentNode = findScrollableParent(dragOverNode);

Expand Down

0 comments on commit 8d03eaf

Please sign in to comment.