@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.
@@ -1619,7 +1619,7 @@ let ProgressButton = class ProgressButton extends Button {
1619
1619
  const isVertical = clsList.contains('e-vertical');
1620
1620
  clsList.add(PROGRESSACTIVE);
1621
1621
  if (!(clsList.contains(HIDESPINNER))) {
1622
- showSpinner(this.element);
1622
+ showSpinner(this.element.querySelector(".e-spinner"));
1623
1623
  }
1624
1624
  this.startAnimate(Date.now(), progressTime ? progressTime : 0, progressTime ? Date.now() - (this.duration * 1 / 100) : Date.now(), percent ? percent : 0, 0, this.step, 0, isVertical);
1625
1625
  this.startContAnimate();
@@ -1749,7 +1749,7 @@ let ProgressButton = class ProgressButton extends Button {
1749
1749
  hideSpin() {
1750
1750
  const cont = this.element.getElementsByClassName(CONTENTCLS)[0];
1751
1751
  if (!(this.element.classList.contains(HIDESPINNER))) {
1752
- hideSpinner(this.element);
1752
+ hideSpinner(this.element.querySelector(".e-spinner"));
1753
1753
  }
1754
1754
  this.element.classList.remove(PROGRESSACTIVE);
1755
1755
  if (this.animationSettings.effect !== 'None') {
@@ -1805,7 +1805,7 @@ let ProgressButton = class ProgressButton extends Button {
1805
1805
  this.setContent();
1806
1806
  this.createSpinner();
1807
1807
  if (isSpinning) {
1808
- showSpinner(this.element);
1808
+ showSpinner(this.element.querySelector(".e-spinner"));
1809
1809
  isSpinning = false;
1810
1810
  }
1811
1811
  if (this.enableProgress) {