@syncfusion/ej2-navigations 23.2.4 → 23.2.5

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.
@@ -5282,6 +5282,11 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
5282
5282
  eleObj.appendTo(ele);
5283
5283
  }
5284
5284
  this.add(innerEle, CLS_TEMPLATE);
5285
+ var firstChild = innerEle.firstElementChild;
5286
+ if (!isNullOrUndefined(firstChild)) {
5287
+ firstChild.setAttribute('tabindex', isNullOrUndefined(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
5288
+ firstChild.setAttribute('data-tabindex', isNullOrUndefined(firstChild.getAttribute("tabIndex")) ? '-1' : this.getDataTabindex(firstChild));
5289
+ }
5285
5290
  this.tbarEle.push(innerEle);
5286
5291
  };
5287
5292
  Toolbar.prototype.buttonRendering = function (item, innerEle) {
@@ -5406,12 +5411,7 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
5406
5411
  };
5407
5412
  Toolbar.prototype.activeEleRemove = function (curEle) {
5408
5413
  if (!isNullOrUndefined(this.activeEle)) {
5409
- if (!curEle.parentElement.classList.contains(CLS_TEMPLATE)) {
5410
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
5411
- }
5412
- else {
5413
- this.activeEle.removeAttribute('tabindex');
5414
- }
5414
+ this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
5415
5415
  }
5416
5416
  this.activeEle = curEle;
5417
5417
  if (this.getDataTabindex(this.activeEle) === '-1') {
@@ -5420,7 +5420,8 @@ var Toolbar = /** @__PURE__ @class */ (function (_super) {
5420
5420
  curEle.removeAttribute('tabindex');
5421
5421
  }
5422
5422
  else {
5423
- this.activeEle.setAttribute('tabindex', this.getDataTabindex(this.activeEle));
5423
+ var tabIndex = parseInt(this.getDataTabindex(this.activeEle)) + 1;
5424
+ this.activeEle.setAttribute('tabindex', tabIndex.toString());
5424
5425
  }
5425
5426
  }
5426
5427
  };
@@ -15522,7 +15523,7 @@ var Sidebar = /** @__PURE__ @class */ (function (_super) {
15522
15523
  };
15523
15524
  this.trigger('open', openArguments, function (observedopenArgs) {
15524
15525
  if (!observedopenArgs.cancel) {
15525
- removeClass([_this.element], VISIBILITY);
15526
+ removeClass([_this.element], [VISIBILITY, DISABLEANIMATION]);
15526
15527
  if (_this.element.classList.contains(OPEN)) {
15527
15528
  return;
15528
15529
  }