@syncfusion/ej2-dropdowns 19.4.41 → 19.4.42

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.
@@ -1225,7 +1225,8 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
1225
1225
  li.innerText = itemText;
1226
1226
  }
1227
1227
  if (this.itemTemplate && !isHeader) {
1228
- var compiledString = compile(this.itemTemplate);
1228
+ var itemCheck = this.templateCompiler(this.itemTemplate);
1229
+ var compiledString = itemCheck ? compile(select(this.itemTemplate, document).innerHTML.trim()) : compile(this.itemTemplate);
1229
1230
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
1230
1231
  var addItemTemplate = compiledString(item, this, 'itemTemplate', this.itemTemplateId, this.isStringTemplate, null, li);
1231
1232
  if (addItemTemplate) {
@@ -12210,6 +12211,17 @@ var MultiSelect = /** @__PURE__ @class */ (function (_super) {
12210
12211
  this.notify('selectAllText', false);
12211
12212
  break;
12212
12213
  case 'popupHeight':
12214
+ if (this.popupObj) {
12215
+ var overAllHeight = parseInt(this.popupHeight, 10);
12216
+ if (this.popupHeight !== 'auto') {
12217
+ this.list.style.maxHeight = formatUnit(overAllHeight);
12218
+ this.popupWrapper.style.maxHeight = formatUnit(this.popupHeight);
12219
+ }
12220
+ else {
12221
+ this.list.style.maxHeight = formatUnit(this.popupHeight);
12222
+ }
12223
+ }
12224
+ break;
12213
12225
  case 'headerTemplate':
12214
12226
  case 'footerTemplate':
12215
12227
  this.reInitializePoup();