@syncfusion/ej2-splitbuttons 21.1.41 → 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.
- package/CHANGELOG.md +8 -0
- package/dist/ej2-splitbuttons.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js +2 -2
- package/dist/ej2-splitbuttons.umd.min.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es2015.js +5 -8
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +5 -8
- package/dist/es6/ej2-splitbuttons.es5.js.map +1 -1
- package/dist/global/ej2-splitbuttons.min.js +2 -2
- package/dist/global/ej2-splitbuttons.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/drop-down-button/drop-down-button.js +2 -5
- package/src/progress-button/progress-button.js +3 -3
|
@@ -496,7 +496,8 @@ let DropDownButton = class DropDownButton extends Component {
|
|
|
496
496
|
}
|
|
497
497
|
EventHandler.remove(this.getPopUpElement(), 'click', this.clickHandler);
|
|
498
498
|
EventHandler.remove(this.getPopUpElement(), 'keydown', this.keyBoardHandler);
|
|
499
|
-
if (this.isPopupCreated) {
|
|
499
|
+
if (this.isPopupCreated && this.dropDown) {
|
|
500
|
+
this.dropDown.element = null;
|
|
500
501
|
this.dropDown = undefined;
|
|
501
502
|
}
|
|
502
503
|
}
|
|
@@ -714,10 +715,6 @@ let DropDownButton = class DropDownButton extends Component {
|
|
|
714
715
|
}
|
|
715
716
|
const openArgs = { element: ul, items: this.items };
|
|
716
717
|
this.trigger('open', openArgs);
|
|
717
|
-
if (this.enableRtl && ul.parentElement.style.left !== '0px') {
|
|
718
|
-
const popupRect = ul.parentElement.offsetWidth - this.element.offsetWidth;
|
|
719
|
-
ul.parentElement.style.left = parseFloat(ul.parentElement.style.left) - popupRect + "px";
|
|
720
|
-
}
|
|
721
718
|
}
|
|
722
719
|
});
|
|
723
720
|
}
|
|
@@ -1622,7 +1619,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1622
1619
|
const isVertical = clsList.contains('e-vertical');
|
|
1623
1620
|
clsList.add(PROGRESSACTIVE);
|
|
1624
1621
|
if (!(clsList.contains(HIDESPINNER))) {
|
|
1625
|
-
showSpinner(this.element);
|
|
1622
|
+
showSpinner(this.element.querySelector(".e-spinner"));
|
|
1626
1623
|
}
|
|
1627
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);
|
|
1628
1625
|
this.startContAnimate();
|
|
@@ -1752,7 +1749,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1752
1749
|
hideSpin() {
|
|
1753
1750
|
const cont = this.element.getElementsByClassName(CONTENTCLS)[0];
|
|
1754
1751
|
if (!(this.element.classList.contains(HIDESPINNER))) {
|
|
1755
|
-
hideSpinner(this.element);
|
|
1752
|
+
hideSpinner(this.element.querySelector(".e-spinner"));
|
|
1756
1753
|
}
|
|
1757
1754
|
this.element.classList.remove(PROGRESSACTIVE);
|
|
1758
1755
|
if (this.animationSettings.effect !== 'None') {
|
|
@@ -1808,7 +1805,7 @@ let ProgressButton = class ProgressButton extends Button {
|
|
|
1808
1805
|
this.setContent();
|
|
1809
1806
|
this.createSpinner();
|
|
1810
1807
|
if (isSpinning) {
|
|
1811
|
-
showSpinner(this.element);
|
|
1808
|
+
showSpinner(this.element.querySelector(".e-spinner"));
|
|
1812
1809
|
isSpinning = false;
|
|
1813
1810
|
}
|
|
1814
1811
|
if (this.enableProgress) {
|