Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov committed Sep 25, 2023
1 parent a1fd164 commit 78884bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dragdrop/dom-adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export class DragDropDOMAdapter implements IDragDropDOMAdapter {
this.startX = event.pageX;
this.startY = event.pageY;
document.body.style.setProperty("touch-action", "none", "important");
document.body.style.setProperty("-webkit-touch-callout", "none", "important");
//document.body.style.setProperty("-webkit-touch-callout", "none", "important");

this.timeoutID = setTimeout(() => {
this.doStartDrag(
Expand Down Expand Up @@ -315,7 +315,7 @@ export class DragDropDOMAdapter implements IDragDropDOMAdapter {
document.body.style.setProperty("touch-action", "auto");
document.body.style.setProperty("user-select", "auto");
document.body.style.setProperty("-webkit-user-select", "auto");
document.body.style.setProperty("-webkit-touch-callout", "default");
//document.body.style.setProperty("-webkit-touch-callout", "default");
}

public draggedElementShortcut: any = null;
Expand Down

0 comments on commit 78884bd

Please sign in to comment.