@syncfusion/ej2-splitbuttons 21.1.37 → 21.1.41

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.
@@ -750,6 +750,10 @@ var DropDownButton = /** @__PURE__ @class */ (function (_super) {
750
750
  }
751
751
  var openArgs = { element: ul_1, items: _this.items };
752
752
  _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
+ }
753
757
  }
754
758
  });
755
759
  };