@syncfusion/ej2-dropdowns 26.2.4 → 26.2.5

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.
@@ -2061,12 +2061,21 @@ var DropDownBase = /** @__PURE__ @class */ (function (_super) {
2061
2061
  option.templateID = this.itemTemplateId;
2062
2062
  option.isStringTemplate = this.isStringTemplate;
2063
2063
  var itemcheck = this.templateCompiler(this.itemTemplate);
2064
+ var ulElement;
2064
2065
  if (typeof this.itemTemplate !== 'function' && itemcheck) {
2065
2066
  var itemValue = select(this.itemTemplate, document).innerHTML.trim();
2066
- return ListBase.renderContentTemplate(this.createElement, itemValue, dataSource, fields.properties, option, this);
2067
+ ulElement = ListBase.renderContentTemplate(this.createElement, itemValue, dataSource, fields.properties, option, this);
2068
+ if (this.isVirtualizationEnabled && this.isReact) {
2069
+ this.renderReactTemplates();
2070
+ }
2071
+ return ulElement;
2067
2072
  }
2068
2073
  else {
2069
- return ListBase.renderContentTemplate(this.createElement, this.itemTemplate, dataSource, fields.properties, option, this);
2074
+ ulElement = ListBase.renderContentTemplate(this.createElement, this.itemTemplate, dataSource, fields.properties, option, this);
2075
+ if (this.isVirtualizationEnabled && this.isReact) {
2076
+ this.renderReactTemplates();
2077
+ }
2078
+ return ulElement;
2070
2079
  }
2071
2080
  };
2072
2081
  DropDownBase.prototype.typeOfData = function (items) {