@syncfusion/ej2-ribbon 30.1.39 → 30.1.42

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * filename: index.d.ts
3
- * version : 30.1.39
3
+ * version : 30.1.42
4
4
  * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncfusion/ej2-ribbon",
3
- "version": "30.1.39",
3
+ "version": "30.1.42",
4
4
  "description": "Essential JS 2 Component",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -9,13 +9,13 @@
9
9
  "es2015": "./dist/es6/ej2-ribbon.es5.js",
10
10
  "typings": "index.d.ts",
11
11
  "dependencies": {
12
- "@syncfusion/ej2-base": "~30.1.38",
12
+ "@syncfusion/ej2-base": "~30.1.42",
13
13
  "@syncfusion/ej2-buttons": "~30.1.37",
14
- "@syncfusion/ej2-dropdowns": "~30.1.39",
15
- "@syncfusion/ej2-lists": "~30.1.37",
16
- "@syncfusion/ej2-navigations": "~30.1.39",
17
- "@syncfusion/ej2-popups": "~30.1.37",
18
- "@syncfusion/ej2-splitbuttons": "~30.1.39"
14
+ "@syncfusion/ej2-dropdowns": "~30.1.42",
15
+ "@syncfusion/ej2-lists": "~30.1.42",
16
+ "@syncfusion/ej2-navigations": "~30.1.42",
17
+ "@syncfusion/ej2-popups": "~30.1.42",
18
+ "@syncfusion/ej2-splitbuttons": "~30.1.41"
19
19
  },
20
20
  "devDependencies": {},
21
21
  "keywords": [
@@ -388,14 +388,16 @@ var Ribbon = /** @class */ (function (_super) {
388
388
  };
389
389
  Ribbon.prototype.resizeHandler = function () {
390
390
  var activeContent = this.tabObj.element.querySelector('#' + this.tabs[this.selectedTab].id + constants.CONTENT_ID);
391
- this.checkOverflow(this.selectedTab, activeContent);
391
+ if (!isNullOrUndefined(activeContent)) {
392
+ this.checkOverflow(this.selectedTab, activeContent);
393
+ }
392
394
  if (this.scrollModule) {
393
395
  var scrollEle = this.tabObj.element.querySelector('.' + constants.HORIZONTAL_SCROLLBAR);
394
396
  this.scrollModule.scrollStep = scrollEle.offsetWidth;
395
397
  }
396
398
  if (this.activeLayout === 'Simplified') {
397
399
  var activePopup = document.querySelectorAll('.e-ribbon .e-dropdown-btn.e-active, .e-ribbon-group-overflow-ddb .e-dropdown-btn.e-active');
398
- if (activePopup.length) {
400
+ if (!isNullOrUndefined(activePopup) && activePopup.length) {
399
401
  for (var i = 0; i < activePopup.length; i++) {
400
402
  var dropDownBtn = getInstance(activePopup[parseInt(i.toString(), 10)], DropDownButton);
401
403
  dropDownBtn.toggle();