@syncfusion/ej2-dropdowns 28.1.37 → 28.1.38

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.
@@ -1776,7 +1776,17 @@ let DropDownBase = class DropDownBase extends Component {
1776
1776
  const liCollections = listElement.querySelectorAll('.' + dropDownBaseClasses.li);
1777
1777
  for (let index = 0; index < liCollections.length; index++) {
1778
1778
  if (JSON.parse(JSON.stringify(this.listData[index]))[this.fields.disabled]) {
1779
- this.disableListItem(liCollections[index]);
1779
+ if (!isNullOrUndefined(this.fields.groupBy)) {
1780
+ const item = this.listData[index];
1781
+ const value = getValue((this.fields.value ? this.fields.value : 'value'), item);
1782
+ const li = listElement.querySelector('li[data-value="' + value + '"]');
1783
+ if (!isNullOrUndefined(li)) {
1784
+ this.disableListItem(li);
1785
+ }
1786
+ }
1787
+ else {
1788
+ this.disableListItem(liCollections[index]);
1789
+ }
1780
1790
  }
1781
1791
  }
1782
1792
  }
@@ -5471,7 +5481,7 @@ let DropDownList = class DropDownList extends DropDownBase {
5471
5481
  this.destroyPopup();
5472
5482
  }
5473
5483
  });
5474
- if (this.allowResize) {
5484
+ if (this.allowResize && (this.getModuleName() !== 'dropdownlist' || !(Browser.isDevice && this.isDeviceFullScreen && this.allowFiltering))) {
5475
5485
  const resizePaddingBottom = 16;
5476
5486
  // Create the resizer div
5477
5487
  this.resizer = this.createElement('div', {
@@ -7635,6 +7645,9 @@ let DropDownTree = class DropDownTree extends Component {
7635
7645
  }
7636
7646
  this.treeObj.fields = this.getTreeFields(fields);
7637
7647
  this.treeObj.dataBind();
7648
+ if (this.popupObj) {
7649
+ this.popupObj.refreshPosition();
7650
+ }
7638
7651
  if (this.hasTemplate && this.portals && this.treeObj.portals) {
7639
7652
  for (let i = 0; i < this.treeObj.portals.length; i++) {
7640
7653
  if (this.portals.indexOf(this.treeObj.portals[i]) === -1) {