From 777dda24642aa34baf79322c6df9779373ae5c5b Mon Sep 17 00:00:00 2001 From: kesavan-ss <83690915+kesavan-ss@users.noreply.github.com> Date: Fri, 24 Feb 2023 09:58:14 +0530 Subject: [PATCH] Removed hasSameSortingScope as we don't need this scope check .And when drag and drop from one list to another list.This check will not work properly --- addon/services/drag-coordinator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/services/drag-coordinator.js b/addon/services/drag-coordinator.js index d9f81ee..b955322 100644 --- a/addon/services/drag-coordinator.js +++ b/addon/services/drag-coordinator.js @@ -102,7 +102,7 @@ export default Service.extend({ this.set('lastEvent', event); if (!this.get('isMoving') && this.get('currentDragEvent')) { - if (event.target !== this.get('currentDragEvent').target && hasSameSortingScope) { //if not dragging over self + if (event.target !== this.get('currentDragEvent').target) { //if not dragging over self if (currentOffsetItem !== emberObject) { if (pos.py < 0.67 && moveDirections.indexOf('up') >= 0 || pos.py > 0.33 && moveDirections.indexOf('down') >= 0 ||