@syncfusion/ej2-lists 24.1.46 → 24.2.3

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.
@@ -4050,7 +4050,7 @@ let Sortable = Sortable_1 = class Sortable extends Base {
4050
4050
  let target = this.getSortableElement(e.target, newInst);
4051
4051
  if ((this.isValidTarget(target, newInst) || e.target.className.indexOf('e-list-group-item') > -1) && (this.curTarget !== target ||
4052
4052
  !isNullOrUndefined(newInst.placeHolder)) && (newInst.placeHolderElement ? newInst.placeHolderElement !== e.target : true)) {
4053
- if (e.target.className.indexOf('e-list-group-item') > -1) {
4053
+ if (e.target.classList.contains('e-list-group-item')) {
4054
4054
  target = e.target;
4055
4055
  }
4056
4056
  this.curTarget = target;