@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
|
@@ -4764,14 +4764,16 @@ let Ribbon = Ribbon_1 = class Ribbon extends Component {
|
|
|
4764
4764
|
}
|
|
4765
4765
|
resizeHandler() {
|
|
4766
4766
|
const activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + CONTENT_ID);
|
|
4767
|
-
|
|
4767
|
+
if (!isNullOrUndefined(activeContent)) {
|
|
4768
|
+
this.checkOverflow(this.selectedTab, activeContent);
|
|
4769
|
+
}
|
|
4768
4770
|
if (this.scrollModule) {
|
|
4769
4771
|
const scrollEle = this.tabObj.element.querySelector('.' + HORIZONTAL_SCROLLBAR);
|
|
4770
4772
|
this.scrollModule.scrollStep = scrollEle.offsetWidth;
|
|
4771
4773
|
}
|
|
4772
4774
|
if (this.activeLayout === 'Simplified') {
|
|
4773
4775
|
const activePopup = document.querySelectorAll('.e-ribbon .e-dropdown-btn.e-active, .e-ribbon-group-overflow-ddb .e-dropdown-btn.e-active');
|
|
4774
|
-
if (activePopup.length) {
|
|
4776
|
+
if (!isNullOrUndefined(activePopup) && activePopup.length) {
|
|
4775
4777
|
for (let i = 0; i < activePopup.length; i++) {
|
|
4776
4778
|
const dropDownBtn = getInstance(activePopup[parseInt(i.toString(), 10)], DropDownButton);
|
|
4777
4779
|
dropDownBtn.toggle();
|