@syncfusion/ej2-splitbuttons 21.1.37 → 21.2.3

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.
@@ -530,7 +530,8 @@ var DropDownButton = /** @__PURE__ @class */ (function (_super) {
530
530
  }
531
531
  EventHandler.remove(this.getPopUpElement(), 'click', this.clickHandler);
532
532
  EventHandler.remove(this.getPopUpElement(), 'keydown', this.keyBoardHandler);
533
- if (this.isPopupCreated) {
533
+ if (this.isPopupCreated && this.dropDown) {
534
+ this.dropDown.element = null;
534
535
  this.dropDown = undefined;
535
536
  }
536
537
  }