@syncfusion/ej2-splitbuttons 21.2.3 → 21.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.
@@ -1706,7 +1706,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1706
1706
  var isVertical = clsList.contains('e-vertical');
1707
1707
  clsList.add(PROGRESSACTIVE);
1708
1708
  if (!(clsList.contains(HIDESPINNER))) {
1709
- showSpinner(this.element);
1709
+ showSpinner(this.element.querySelector(".e-spinner"));
1710
1710
  }
1711
1711
  this.startAnimate(Date.now(), progressTime ? progressTime : 0, progressTime ? Date.now() - (this.duration * 1 / 100) : Date.now(), percent ? percent : 0, 0, this.step, 0, isVertical);
1712
1712
  this.startContAnimate();
@@ -1839,7 +1839,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1839
1839
  ProgressButton.prototype.hideSpin = function () {
1840
1840
  var cont = this.element.getElementsByClassName(CONTENTCLS)[0];
1841
1841
  if (!(this.element.classList.contains(HIDESPINNER))) {
1842
- hideSpinner(this.element);
1842
+ hideSpinner(this.element.querySelector(".e-spinner"));
1843
1843
  }
1844
1844
  this.element.classList.remove(PROGRESSACTIVE);
1845
1845
  if (this.animationSettings.effect !== 'None') {
@@ -1896,7 +1896,7 @@ var ProgressButton = /** @__PURE__ @class */ (function (_super) {
1896
1896
  this.setContent();
1897
1897
  this.createSpinner();
1898
1898
  if (isSpinning) {
1899
- showSpinner(this.element);
1899
+ showSpinner(this.element.querySelector(".e-spinner"));
1900
1900
  isSpinning = false;
1901
1901
  }
1902
1902
  if (this.enableProgress) {