@syncfusion/ej2-lists 24.2.3 → 24.2.4

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.
@@ -1460,7 +1460,7 @@ let ListView = class ListView extends Component {
1460
1460
  if (args.item.classList.contains(classNames.hasChild)) {
1461
1461
  this.isNestedList = true;
1462
1462
  }
1463
- if (this.showCheckBox && this.isValidLI(args.item)) {
1463
+ if (this.showCheckBox && args.item.classList.contains(classNames.listItem)) {
1464
1464
  let checkboxElement;
1465
1465
  let fieldData;
1466
1466
  // eslint-disable-next-line prefer-const