@syncfusion/ej2-navigations 19.4.53 → 19.4.55

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.
@@ -1655,7 +1655,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1655
1655
  if (isOpen && _this.hamburgerMode && ulIndex && !(submenus.length)) {
1656
1656
  _this.afterCloseMenu(e);
1657
1657
  }
1658
- else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi) {
1658
+ else if (isOpen && !_this.hamburgerMode && _this.navIdx.length && closedLi && !trgtLi && _this.keyType !== "left") {
1659
1659
  var ele = (e && e.target.classList.contains('e-vscroll'))
1660
1660
  ? closest(e.target, '.e-menu-wrapper') : null;
1661
1661
  if (ele) {
@@ -1693,7 +1693,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
1693
1693
  if (sli_1) {
1694
1694
  sli_1.setAttribute('aria-expanded', 'false');
1695
1695
  sli_1.classList.remove(SELECTED);
1696
- if (observedCloseArgs.isFocused && liElem_1) {
1696
+ if (observedCloseArgs.isFocused && liElem_1 || _this.keyType === "left") {
1697
1697
  sli_1.classList.add(FOCUSED);
1698
1698
  sli_1.focus();
1699
1699
  }