@syncfusion/ej2-splitbuttons 21.1.35 → 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.
@@ -714,6 +714,10 @@ let DropDownButton = class DropDownButton extends Component {
714
714
  }
715
715
  const openArgs = { element: ul, items: this.items };
716
716
  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
+ }
717
721
  }
718
722
  });
719
723
  }