@syncfusion/ej2-querybuilder 24.2.5 → 24.2.8

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.
@@ -2977,12 +2977,6 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
2977
2977
  getComponent(element[i], 'dropdown-btn').destroy();
2978
2978
  detach(element[i]);
2979
2979
  }
2980
- popupElement = document.querySelectorAll('.qb-dropdownlist');
2981
- if (popupElement) {
2982
- for (i = 0; i < popupElement.length; i++) {
2983
- popupElement[i].remove();
2984
- }
2985
- }
2986
2980
  tooltip = this.element.querySelectorAll('.e-rule-filter .e-control.e-tooltip');
2987
2981
  for (i = 0; i < tooltip.length; i++) {
2988
2982
  getComponent(tooltip[i], 'tooltip').destroy();
@@ -3022,6 +3016,12 @@ var QueryBuilder = /** @__PURE__ @class */ (function (_super) {
3022
3016
  if (this.portals && this.portals.length) {
3023
3017
  this.clearQBTemplate();
3024
3018
  }
3019
+ popupElement = document.querySelectorAll('.qb-dropdownlist');
3020
+ if (popupElement) {
3021
+ for (i = 0; i < popupElement.length; i++) {
3022
+ popupElement[i].remove();
3023
+ }
3024
+ }
3025
3025
  classList(this.element, [], ['e-rtl', 'e-responsive', 'e-device']);
3026
3026
  this.isDestroy = false;
3027
3027
  };