@syncfusion/ej2-ribbon 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.
- package/dist/ej2-ribbon.umd.min.js +2 -2
- package/dist/ej2-ribbon.umd.min.js.map +1 -1
- package/dist/es6/ej2-ribbon.es2015.js +4 -2
- package/dist/es6/ej2-ribbon.es2015.js.map +1 -1
- package/dist/es6/ej2-ribbon.es5.js +4 -2
- package/dist/es6/ej2-ribbon.es5.js.map +1 -1
- package/dist/global/ej2-ribbon.min.js +2 -2
- package/dist/global/ej2-ribbon.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/ribbon/base/ribbon.js +4 -2
|
@@ -5204,14 +5204,16 @@ var Ribbon = /** @__PURE__ @class */ (function (_super) {
|
|
|
5204
5204
|
};
|
|
5205
5205
|
Ribbon.prototype.resizeHandler = function () {
|
|
5206
5206
|
var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + CONTENT_ID);
|
|
5207
|
-
|
|
5207
|
+
if (!isNullOrUndefined(activeContent)) {
|
|
5208
|
+
this.checkOverflow(this.selectedTab, activeContent);
|
|
5209
|
+
}
|
|
5208
5210
|
if (this.scrollModule) {
|
|
5209
5211
|
var scrollEle = this.tabObj.element.querySelector('.' + HORIZONTAL_SCROLLBAR);
|
|
5210
5212
|
this.scrollModule.scrollStep = scrollEle.offsetWidth;
|
|
5211
5213
|
}
|
|
5212
5214
|
if (this.activeLayout === 'Simplified') {
|
|
5213
5215
|
var activePopup = document.querySelectorAll('.e-ribbon .e-dropdown-btn.e-active, .e-ribbon-group-overflow-ddb .e-dropdown-btn.e-active');
|
|
5214
|
-
if (activePopup.length) {
|
|
5216
|
+
if (!isNullOrUndefined(activePopup) && activePopup.length) {
|
|
5215
5217
|
for (var i = 0; i < activePopup.length; i++) {
|
|
5216
5218
|
var dropDownBtn = getInstance(activePopup[parseInt(i.toString(), 10)], DropDownButton);
|
|
5217
5219
|
dropDownBtn.toggle();
|