@syncfusion/ej2-navigations 23.1.36 → 23.1.39

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.
@@ -3168,7 +3168,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
3168
3168
  if (ishide && validUl === items[i]) {
3169
3169
  ul.children[index].classList.add(HIDE);
3170
3170
  }
3171
- else {
3171
+ else if (!ishide && validUl === items[i]) {
3172
3172
  ul.children[index].classList.remove(HIDE);
3173
3173
  }
3174
3174
  }
@@ -4061,13 +4061,14 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
4061
4061
  * @returns {void}
4062
4062
  */
4063
4063
  Toolbar.prototype.render = function () {
4064
+ var _this = this;
4064
4065
  this.initialize();
4065
4066
  this.renderControl();
4066
4067
  this.wireEvents();
4067
4068
  this.renderComplete();
4068
4069
  if (this.isReact && this.portals && this.portals.length > 0) {
4069
4070
  this.renderReactTemplates(function () {
4070
- this.refreshOverflow();
4071
+ _this.refreshOverflow();
4071
4072
  });
4072
4073
  }
4073
4074
  };
@@ -7862,6 +7863,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7862
7863
  * @returns {void}
7863
7864
  */
7864
7865
  Tab.prototype.render = function () {
7866
+ var _this = this;
7865
7867
  this.btnCls = this.createElement('span', { className: CLS_ICONS + ' ' + CLS_ICON_CLOSE, attrs: { title: this.title } });
7866
7868
  this.tabId = this.element.id.length > 0 ? ('-' + this.element.id) : getRandomId();
7867
7869
  this.renderContainer();
@@ -7869,10 +7871,10 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
7869
7871
  this.initRender = false;
7870
7872
  if (this.isReact && this.portals && this.portals.length > 0) {
7871
7873
  this.renderReactTemplates(function () {
7872
- if (!isNullOrUndefined(this.tbObj)) {
7873
- this.tbObj.refreshOverflow();
7874
+ if (!isNullOrUndefined(_this.tbObj)) {
7875
+ _this.tbObj.refreshOverflow();
7874
7876
  }
7875
- this.refreshActiveBorder();
7877
+ _this.refreshActiveBorder();
7876
7878
  });
7877
7879
  }
7878
7880
  };
@@ -15380,7 +15382,8 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
15380
15382
  this.show();
15381
15383
  }
15382
15384
  else if (!this.isOpen) {
15383
- addClass([this.element], CLOSE);
15385
+ addClass([this.element], [CLOSE, DISABLEANIMATION]);
15386
+ removeClass([this.element], DISABLEANIMATION);
15384
15387
  }
15385
15388
  };
15386
15389
  Sidebar.prototype.checkType = function (val) {