@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.
@@ -3055,7 +3055,7 @@ let MenuBase = class MenuBase extends Component {
3055
3055
  if (ishide && validUl === items[i]) {
3056
3056
  ul.children[index].classList.add(HIDE);
3057
3057
  }
3058
- else {
3058
+ else if (!ishide && validUl === items[i]) {
3059
3059
  ul.children[index].classList.remove(HIDE);
3060
3060
  }
3061
3061
  }
@@ -3926,7 +3926,7 @@ let Toolbar = class Toolbar extends Component {
3926
3926
  this.wireEvents();
3927
3927
  this.renderComplete();
3928
3928
  if (this.isReact && this.portals && this.portals.length > 0) {
3929
- this.renderReactTemplates(function () {
3929
+ this.renderReactTemplates(() => {
3930
3930
  this.refreshOverflow();
3931
3931
  });
3932
3932
  }
@@ -7600,7 +7600,7 @@ let Tab = class Tab extends Component {
7600
7600
  this.wireEvents();
7601
7601
  this.initRender = false;
7602
7602
  if (this.isReact && this.portals && this.portals.length > 0) {
7603
- this.renderReactTemplates(function () {
7603
+ this.renderReactTemplates(() => {
7604
7604
  if (!isNullOrUndefined(this.tbObj)) {
7605
7605
  this.tbObj.refreshOverflow();
7606
7606
  }
@@ -15015,7 +15015,8 @@ let Sidebar = class Sidebar extends Component {
15015
15015
  this.show();
15016
15016
  }
15017
15017
  else if (!this.isOpen) {
15018
- addClass([this.element], CLOSE);
15018
+ addClass([this.element], [CLOSE, DISABLEANIMATION]);
15019
+ removeClass([this.element], DISABLEANIMATION);
15019
15020
  }
15020
15021
  }
15021
15022
  checkType(val) {