@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.
@@ -1977,12 +1977,21 @@ let DropDownBase = class DropDownBase extends Component {
1977
1977
  option.templateID = this.itemTemplateId;
1978
1978
  option.isStringTemplate = this.isStringTemplate;
1979
1979
  const itemcheck = this.templateCompiler(this.itemTemplate);
1980
+ let ulElement;
1980
1981
  if (typeof this.itemTemplate !== 'function' && itemcheck) {
1981
1982
  const itemValue = select(this.itemTemplate, document).innerHTML.trim();
1982
- return ListBase.renderContentTemplate(this.createElement, itemValue, dataSource, fields.properties, option, this);
1983
+ ulElement = ListBase.renderContentTemplate(this.createElement, itemValue, dataSource, fields.properties, option, this);
1984
+ if (this.isVirtualizationEnabled && this.isReact) {
1985
+ this.renderReactTemplates();
1986
+ }
1987
+ return ulElement;
1983
1988
  }
1984
1989
  else {
1985
- return ListBase.renderContentTemplate(this.createElement, this.itemTemplate, dataSource, fields.properties, option, this);
1990
+ ulElement = ListBase.renderContentTemplate(this.createElement, this.itemTemplate, dataSource, fields.properties, option, this);
1991
+ if (this.isVirtualizationEnabled && this.isReact) {
1992
+ this.renderReactTemplates();
1993
+ }
1994
+ return ulElement;
1986
1995
  }
1987
1996
  }
1988
1997
  typeOfData(items) {