@syncfusion/ej2-navigations 23.1.39 → 23.1.40
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/CHANGELOG.md +16 -0
- 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 +7 -2
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +7 -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 +6 -6
- package/src/accordion/accordion.js +4 -2
- package/src/common/menu-base.js +3 -0
|
@@ -2489,6 +2489,9 @@ var MenuBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
2489
2489
|
if (!cli.classList.contains(SEPARATOR)) {
|
|
2490
2490
|
this.showSubMenu = true;
|
|
2491
2491
|
var cul = cli.parentNode;
|
|
2492
|
+
if (isNullOrUndefined(cul)) {
|
|
2493
|
+
return;
|
|
2494
|
+
}
|
|
2492
2495
|
this.cliIdx = this.getIdx(cul, cli);
|
|
2493
2496
|
if (this.isMenu || !Browser.isDevice) {
|
|
2494
2497
|
var culIdx = this.isMenu ? Array.prototype.indexOf.call([wrapper].concat(this.getPopups()), closest(cul, '.' + 'e-' + this.getModuleName() + '-wrapper'))
|
|
@@ -6390,9 +6393,11 @@ var Accordion = /** @__PURE__ @class */ (function (_super) {
|
|
|
6390
6393
|
if (typeof (value) === 'string') {
|
|
6391
6394
|
ele.innerHTML = SanitizeHtmlHelper.sanitize(value);
|
|
6392
6395
|
}
|
|
6393
|
-
else if (
|
|
6396
|
+
else if (value instanceof (HTMLElement)) {
|
|
6394
6397
|
ele.appendChild(value);
|
|
6395
|
-
|
|
6398
|
+
if (this.trgtEle) {
|
|
6399
|
+
ele.firstElementChild.style.display = '';
|
|
6400
|
+
}
|
|
6396
6401
|
}
|
|
6397
6402
|
else {
|
|
6398
6403
|
templateFn = compile(value);
|