@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.
@@ -2914,12 +2914,6 @@ let QueryBuilder = class QueryBuilder extends Component {
2914
2914
  getComponent(element[i], 'dropdown-btn').destroy();
2915
2915
  detach(element[i]);
2916
2916
  }
2917
- popupElement = document.querySelectorAll('.qb-dropdownlist');
2918
- if (popupElement) {
2919
- for (i = 0; i < popupElement.length; i++) {
2920
- popupElement[i].remove();
2921
- }
2922
- }
2923
2917
  tooltip = this.element.querySelectorAll('.e-rule-filter .e-control.e-tooltip');
2924
2918
  for (i = 0; i < tooltip.length; i++) {
2925
2919
  getComponent(tooltip[i], 'tooltip').destroy();
@@ -2959,6 +2953,12 @@ let QueryBuilder = class QueryBuilder extends Component {
2959
2953
  if (this.portals && this.portals.length) {
2960
2954
  this.clearQBTemplate();
2961
2955
  }
2956
+ popupElement = document.querySelectorAll('.qb-dropdownlist');
2957
+ if (popupElement) {
2958
+ for (i = 0; i < popupElement.length; i++) {
2959
+ popupElement[i].remove();
2960
+ }
2961
+ }
2962
2962
  classList(this.element, [], ['e-rtl', 'e-responsive', 'e-device']);
2963
2963
  this.isDestroy = false;
2964
2964
  }