@syncfusion/ej2-navigations 31.2.3 → 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.
- package/README.md +11 -2
- package/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +5 -2
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +5 -2
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/common/menu-base.d.ts +1 -0
- package/src/common/menu-base.js +2 -1
- package/src/context-menu/context-menu.js +2 -0
- package/src/treeview/treeview.js +1 -1
- package/styles/bds-lite.css +0 -1
- package/styles/bds.css +0 -1
- package/styles/bootstrap-dark-lite.css +0 -1
- package/styles/bootstrap-dark.css +0 -1
- package/styles/bootstrap-lite.css +0 -1
- package/styles/bootstrap.css +0 -1
- package/styles/bootstrap4-lite.css +0 -1
- package/styles/bootstrap4.css +0 -1
- package/styles/bootstrap5-dark-lite.css +0 -1
- package/styles/bootstrap5-dark.css +0 -1
- package/styles/bootstrap5-lite.css +0 -1
- package/styles/bootstrap5.3-lite.css +0 -1
- package/styles/bootstrap5.3.css +0 -1
- package/styles/bootstrap5.css +0 -1
- package/styles/fabric-dark-lite.css +0 -1
- package/styles/fabric-dark.css +0 -1
- package/styles/fabric-lite.css +0 -1
- package/styles/fabric.css +0 -1
- package/styles/fluent-dark-lite.css +0 -1
- package/styles/fluent-dark.css +0 -1
- package/styles/fluent-lite.css +0 -1
- package/styles/fluent.css +0 -1
- package/styles/fluent2-lite.css +0 -1
- package/styles/fluent2.css +0 -1
- package/styles/highcontrast-light-lite.css +0 -1
- package/styles/highcontrast-light.css +0 -1
- package/styles/highcontrast-lite.css +0 -1
- package/styles/highcontrast.css +0 -1
- package/styles/material-dark-lite.css +0 -1
- package/styles/material-dark.css +0 -1
- package/styles/material-lite.css +0 -1
- package/styles/material.css +0 -1
- package/styles/tailwind-dark-lite.css +0 -1
- package/styles/tailwind-dark.css +0 -1
- package/styles/tailwind-lite.css +0 -1
- package/styles/tailwind.css +0 -1
- package/styles/treeview/_layout.scss +0 -3
- package/styles/treeview/bds.css +0 -1
- package/styles/treeview/bootstrap-dark.css +0 -1
- package/styles/treeview/bootstrap.css +0 -1
- package/styles/treeview/bootstrap4.css +0 -1
- package/styles/treeview/bootstrap5-dark.css +0 -1
- package/styles/treeview/bootstrap5.3.css +0 -1
- package/styles/treeview/bootstrap5.css +0 -1
- package/styles/treeview/fabric-dark.css +0 -1
- package/styles/treeview/fabric.css +0 -1
- package/styles/treeview/fluent-dark.css +0 -1
- package/styles/treeview/fluent.css +0 -1
- package/styles/treeview/fluent2.css +0 -1
- package/styles/treeview/highcontrast-light.css +0 -1
- package/styles/treeview/highcontrast.css +0 -1
- package/styles/treeview/material-dark.css +0 -1
- package/styles/treeview/material.css +0 -1
- package/styles/treeview/tailwind-dark.css +0 -1
- package/styles/treeview/tailwind.css +0 -1
|
@@ -1212,6 +1212,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
1212
1212
|
_this.isTapHold = false;
|
|
1213
1213
|
_this.tempItem = [];
|
|
1214
1214
|
_this.showSubMenuOn = 'Auto';
|
|
1215
|
+
_this.isOpenCalled = false;
|
|
1215
1216
|
_this.isAnimationNone = false;
|
|
1216
1217
|
_this.isKBDAction = false;
|
|
1217
1218
|
return _this;
|
|
@@ -2349,7 +2350,7 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2349
2350
|
}
|
|
2350
2351
|
}
|
|
2351
2352
|
this.toggleVisiblity(ul, false);
|
|
2352
|
-
if (this.isCMenu && this.enableScrolling && ul) {
|
|
2353
|
+
if ((this.isCMenu || this.isOpenCalled) && this.enableScrolling && ul) {
|
|
2353
2354
|
ul.style.height = '';
|
|
2354
2355
|
ul.style.top = '';
|
|
2355
2356
|
ul.style.left = '';
|
|
@@ -7604,7 +7605,9 @@ var ContextMenu = /** @__PURE__ @class */ (function (_super) {
|
|
|
7604
7605
|
* @returns {void}
|
|
7605
7606
|
*/
|
|
7606
7607
|
ContextMenu.prototype.open = function (top, left, target) {
|
|
7608
|
+
this.isOpenCalled = true;
|
|
7607
7609
|
_super.prototype.openMenu.call(this, null, null, top, left, null, target);
|
|
7610
|
+
this.isOpenCalled = false;
|
|
7608
7611
|
};
|
|
7609
7612
|
/**
|
|
7610
7613
|
* Closes the ContextMenu if it is opened.
|
|
@@ -15880,7 +15883,7 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
|
|
|
15880
15883
|
this.setNodeFocusable();
|
|
15881
15884
|
}
|
|
15882
15885
|
this.updateCheckedStateFromDS();
|
|
15883
|
-
if (this.showCheckBox && dropLi) {
|
|
15886
|
+
if (this.showCheckBox && dropLi && this.autoCheck) {
|
|
15884
15887
|
this.ensureParentCheckState(dropLi);
|
|
15885
15888
|
}
|
|
15886
15889
|
if ((this.fields.dataSource instanceof DataManager === false)) {
|