@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.
@@ -13629,10 +13629,12 @@ class CheckBoxSelection {
13629
13629
  clearElement.parentElement.insertBefore(this.filterInput, clearElement);
13630
13630
  }
13631
13631
  setPopupFullScreen() {
13632
- attributes(this.parent.popupObj.element, { style: 'left:0px;right:0px;top:0px;bottom:0px;' });
13633
- addClass([document.body, this.parent.popupObj.element], popupFullScreen);
13634
- this.parent.popupObj.element.style.maxHeight = '100%';
13635
- this.parent.popupObj.element.style.width = '100%';
13632
+ if (this.parent && this.parent.popupObj) {
13633
+ attributes(this.parent.popupObj.element, { style: 'left:0px;right:0px;top:0px;bottom:0px;' });
13634
+ addClass([document.body, this.parent.popupObj.element], popupFullScreen);
13635
+ this.parent.popupObj.element.style.maxHeight = '100%';
13636
+ this.parent.popupObj.element.style.width = '100%';
13637
+ }
13636
13638
  }
13637
13639
  targetElement() {
13638
13640
  if (!isNullOrUndefined(this.clearIconElement)) {
@@ -14226,7 +14228,7 @@ let ListBox = ListBox_1 = class ListBox extends DropDownBase {
14226
14228
  if ((boundRect.y + scrollParent.offsetHeight) - (event.clientY + scrollMoved) < 1) {
14227
14229
  scrollParent.scrollTop = scrollParent.scrollTop + scrollHeight;
14228
14230
  }
14229
- else if ((event.pageY - scrollMoved) - boundRect.y < 1) {
14231
+ else if ((event.clientY - scrollMoved) - boundRect.y < 1) {
14230
14232
  scrollParent.scrollTop = scrollParent.scrollTop - scrollHeight;
14231
14233
  }
14232
14234
  }