From 78884bd90e758cd7d9ba00c88754a3e0d88a9509 Mon Sep 17 00:00:00 2001 From: dmitrykurmanov Date: Mon, 25 Sep 2023 17:07:41 +0400 Subject: [PATCH] attempt to fix https://github.com/surveyjs/survey-creator/issues/4644 --- src/dragdrop/dom-adapter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dragdrop/dom-adapter.ts b/src/dragdrop/dom-adapter.ts index 8df47208f0..69364a0607 100644 --- a/src/dragdrop/dom-adapter.ts +++ b/src/dragdrop/dom-adapter.ts @@ -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( @@ -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;