@syncfusion/ej2-navigations 31.2.5 → 31.2.12

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 : 31.2.5
3
+ * version : 31.2.12
4
4
  * Copyright Syncfusion Inc. 2001 - 2025. 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-navigations",
3
- "version": "31.2.5",
3
+ "version": "31.2.12",
4
4
  "description": "A package of Essential JS 2 navigation components such as Tree-view, Tab, Toolbar, Context-menu, and Accordion which is used to navigate from one page to another",
5
5
  "author": "Syncfusion Inc.",
6
6
  "license": "SEE LICENSE IN license",
@@ -8,12 +8,12 @@
8
8
  "module": "./index.js",
9
9
  "es2015": "./dist/es6/ej2-navigations.es5.js",
10
10
  "dependencies": {
11
- "@syncfusion/ej2-base": "~31.2.5",
12
- "@syncfusion/ej2-buttons": "~31.2.3",
13
- "@syncfusion/ej2-data": "~31.2.5",
14
- "@syncfusion/ej2-inputs": "~31.2.5",
15
- "@syncfusion/ej2-lists": "~31.2.2",
16
- "@syncfusion/ej2-popups": "~31.2.5"
11
+ "@syncfusion/ej2-base": "~31.2.12",
12
+ "@syncfusion/ej2-buttons": "~31.2.12",
13
+ "@syncfusion/ej2-data": "~31.2.12",
14
+ "@syncfusion/ej2-inputs": "~31.2.12",
15
+ "@syncfusion/ej2-lists": "~31.2.12",
16
+ "@syncfusion/ej2-popups": "~31.2.12"
17
17
  },
18
18
  "devDependencies": {},
19
19
  "keywords": [
@@ -189,6 +189,7 @@ export declare abstract class MenuBase extends Component<HTMLUListElement> imple
189
189
  private timer;
190
190
  private currentTarget;
191
191
  private isCmenuHover;
192
+ protected isOpenCalled: boolean;
192
193
  private isAnimationNone;
193
194
  private isKBDAction;
194
195
  private touchStartFn;
@@ -155,6 +155,7 @@ var MenuBase = /** @class */ (function (_super) {
155
155
  _this.isTapHold = false;
156
156
  _this.tempItem = [];
157
157
  _this.showSubMenuOn = 'Auto';
158
+ _this.isOpenCalled = false;
158
159
  _this.isAnimationNone = false;
159
160
  _this.isKBDAction = false;
160
161
  return _this;
@@ -1292,7 +1293,7 @@ var MenuBase = /** @class */ (function (_super) {
1292
1293
  }
1293
1294
  }
1294
1295
  this.toggleVisiblity(ul, false);
1295
- if (this.isCMenu && this.enableScrolling && ul) {
1296
+ if ((this.isCMenu || this.isOpenCalled) && this.enableScrolling && ul) {
1296
1297
  ul.style.height = '';
1297
1298
  ul.style.top = '';
1298
1299
  ul.style.left = '';
@@ -75,7 +75,9 @@ var ContextMenu = /** @class */ (function (_super) {
75
75
  * @returns {void}
76
76
  */
77
77
  ContextMenu.prototype.open = function (top, left, target) {
78
+ this.isOpenCalled = true;
78
79
  _super.prototype.openMenu.call(this, null, null, top, left, null, target);
80
+ this.isOpenCalled = false;
79
81
  };
80
82
  /**
81
83
  * Closes the ContextMenu if it is opened.