@syncfusion/ej2-lists 32.2.7 → 33.1.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4313,7 +4313,8 @@ let Sortable = Sortable_1 = class Sortable extends Base {
4313
4313
  if (dropInst.element.querySelector('.e-list-nrt')) {
4314
4314
  curIdx = curIdx - 1;
4315
4315
  }
4316
- if (this.curTarget === this.target && e.target === this.curTarget) {
4316
+ const sortableTargetElement = this.getSortableElement(e.target, dropInst);
4317
+ if (this.curTarget === this.target && sortableTargetElement === this.curTarget) {
4317
4318
  curIdx = prevIdx;
4318
4319
  }
4319
4320
  if (dropInst.element === e.target || (!isPlaceHolderPresent && this.curTarget === this.target)) {