From 104ecb27327e6231afa028fbd627a1b98f7d5329 Mon Sep 17 00:00:00 2001 From: hadi Date: Wed, 10 May 2023 14:56:53 +0200 Subject: [PATCH] Make sure that we are literally marking the row's content before deactivating drag action --- api/js/egw_action/egw_action_dragdrop.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/egw_action/egw_action_dragdrop.js b/api/js/egw_action/egw_action_dragdrop.js index 02457780e9..e1f28ffdb9 100644 --- a/api/js/egw_action/egw_action_dragdrop.js +++ b/api/js/egw_action/egw_action_dragdrop.js @@ -202,7 +202,7 @@ export function egwDragActionImplementation() } }, mouseup: function (event){ - if (_context.isSelection(event)){ + if (_context.isSelection(event) && document.getSelection().type === 'Range'){ //let the draggable be reactivated by another click up as the range selection is // not working as expected in shadow-dom as expected in all browsers }