@syncfusion/ej2-navigations 30.1.39 → 30.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.
@@ -3125,6 +3125,13 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
3125
3125
  MenuBase.prototype.toggleAnimation = function (ul, isMenuOpen) {
3126
3126
  var _this = this;
3127
3127
  if (isMenuOpen === void 0) { isMenuOpen = true; }
3128
+ var menuWrapper = this.getWrapper();
3129
+ if (menuWrapper) {
3130
+ var activeMenuElements = menuWrapper.querySelectorAll('.e-menu-parent');
3131
+ activeMenuElements.forEach(function (menuElement) {
3132
+ Animation.stop(menuElement);
3133
+ });
3134
+ }
3128
3135
  var pUlHeight;
3129
3136
  var pElement;
3130
3137
  var animateElement = (this.enableScrolling && !this.isMenu && closest(ul, '.e-menu-vscroll'))
@@ -3966,11 +3973,15 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
3966
3973
  }
3967
3974
  if (this.tbarAlign) {
3968
3975
  var tbarItems = this.element.querySelector('.' + CLS_ITEMS);
3969
- [].slice.call(tbarItems.children).forEach(function (el) {
3970
- detach(el);
3971
- });
3976
+ if (tbarItems) {
3977
+ if (tbarItems.children) {
3978
+ [].slice.call(tbarItems.children).forEach(function (el) {
3979
+ detach(el);
3980
+ });
3981
+ }
3982
+ this.remove(tbarItems, CLS_TBARPOS);
3983
+ }
3972
3984
  this.tbarAlign = false;
3973
- this.remove(tbarItems, CLS_TBARPOS);
3974
3985
  }
3975
3986
  this.clearProperty();
3976
3987
  };
@@ -8582,7 +8593,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
8582
8593
  this.actEleId = target.id;
8583
8594
  if (this.checkPopupOverflow(lastChild)) {
8584
8595
  var prevEle = this.tbItems.lastChild.previousElementSibling;
8585
- this.checkPopupOverflow(prevEle);
8596
+ prevEle = (prevEle && prevEle.classList.contains(CLS_INDICATOR) ? prevEle.previousElementSibling : prevEle);
8597
+ if (prevEle) {
8598
+ this.checkPopupOverflow(prevEle);
8599
+ }
8586
8600
  }
8587
8601
  this.isPopup = true;
8588
8602
  }
@@ -17733,10 +17747,10 @@ var Breadcrumb = /** @__PURE__ @class */ (function (_super) {
17733
17747
  for (var _i = 0, _a = Object.keys(newProp); _i < _a.length; _i++) {
17734
17748
  var prop = _a[_i];
17735
17749
  switch (prop) {
17736
- case 'items':
17737
17750
  case 'enableActiveItemNavigation':
17738
17751
  this.reRenderItems();
17739
17752
  break;
17753
+ case 'items':
17740
17754
  case 'activeItem':
17741
17755
  this._maxItems = this.maxItems;
17742
17756
  this.initPvtProps();