@syncfusion/ej2-splitbuttons 21.1.41 → 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.
- package/CHANGELOG.md +2 -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 +2 -5
- package/dist/es6/ej2-splitbuttons.es2015.js.map +1 -1
- package/dist/es6/ej2-splitbuttons.es5.js +2 -5
- 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 +8 -11
- package/src/drop-down-button/drop-down-button.js +2 -5
|
@@ -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
|
}
|
|
@@ -750,10 +751,6 @@ var DropDownButton = /** @__PURE__ @class */ (function (_super) {
|
|
|
750
751
|
}
|
|
751
752
|
var openArgs = { element: ul_1, items: _this.items };
|
|
752
753
|
_this.trigger('open', openArgs);
|
|
753
|
-
if (_this.enableRtl && ul_1.parentElement.style.left !== '0px') {
|
|
754
|
-
var popupRect = ul_1.parentElement.offsetWidth - _this.element.offsetWidth;
|
|
755
|
-
ul_1.parentElement.style.left = parseFloat(ul_1.parentElement.style.left) - popupRect + "px";
|
|
756
|
-
}
|
|
757
754
|
}
|
|
758
755
|
});
|
|
759
756
|
};
|