@syncfusion/ej2-ribbon 29.1.34 → 29.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.
@@ -7224,6 +7224,14 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
7224
7224
  }
7225
7225
  }
7226
7226
  }
7227
+ if (this.tabsInternal !== this.tabs) {
7228
+ this.tabsInternal = this.tabs;
7229
+ var tabItems = this.createTabItems(this.tabs);
7230
+ if (this.selectedTab >= this.tabs.length) {
7231
+ this.selectedTab = this.tabs.length - 1;
7232
+ }
7233
+ this.tabObj.setProperties({ items: tabItems, selectedItem: this.selectedTab });
7234
+ }
7227
7235
  var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + CONTENT_ID);
7228
7236
  this.checkOverflow(this.selectedTab, activeContent);
7229
7237
  };