@syncfusion/ej2-dropdowns 22.1.38 → 22.1.39

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.
@@ -13813,10 +13813,12 @@ var CheckBoxSelection = /** @__PURE__ @class */ (function () {
13813
13813
  clearElement.parentElement.insertBefore(this.filterInput, clearElement);
13814
13814
  };
13815
13815
  CheckBoxSelection.prototype.setPopupFullScreen = function () {
13816
- attributes(this.parent.popupObj.element, { style: 'left:0px;right:0px;top:0px;bottom:0px;' });
13817
- addClass([document.body, this.parent.popupObj.element], popupFullScreen);
13818
- this.parent.popupObj.element.style.maxHeight = '100%';
13819
- this.parent.popupObj.element.style.width = '100%';
13816
+ if (this.parent && this.parent.popupObj) {
13817
+ attributes(this.parent.popupObj.element, { style: 'left:0px;right:0px;top:0px;bottom:0px;' });
13818
+ addClass([document.body, this.parent.popupObj.element], popupFullScreen);
13819
+ this.parent.popupObj.element.style.maxHeight = '100%';
13820
+ this.parent.popupObj.element.style.width = '100%';
13821
+ }
13820
13822
  };
13821
13823
  CheckBoxSelection.prototype.targetElement = function () {
13822
13824
  if (!isNullOrUndefined(this.clearIconElement)) {
@@ -14440,7 +14442,7 @@ var ListBox = /** @__PURE__ @class */ (function (_super) {
14440
14442
  if ((boundRect.y + scrollParent.offsetHeight) - (event.clientY + scrollMoved) < 1) {
14441
14443
  scrollParent.scrollTop = scrollParent.scrollTop + scrollHeight;
14442
14444
  }
14443
- else if ((event.pageY - scrollMoved) - boundRect.y < 1) {
14445
+ else if ((event.clientY - scrollMoved) - boundRect.y < 1) {
14444
14446
  scrollParent.scrollTop = scrollParent.scrollTop - scrollHeight;
14445
14447
  }
14446
14448
  }