@syncfusion/ej2-navigations 33.1.44 → 33.1.45

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.
@@ -9396,6 +9396,9 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
9396
9396
  }
9397
9397
  this.element.classList.add(CLS_FOCUS);
9398
9398
  var trg = e.target;
9399
+ if (!trg || !trg.isConnected) {
9400
+ return;
9401
+ }
9399
9402
  var tabHeader = this.getTabHeader();
9400
9403
  var actEle = select('.' + CLS_ACTIVE$1, tabHeader);
9401
9404
  this.popEle = select('.' + CLS_TB_POP, tabHeader);
@@ -9407,7 +9410,7 @@ var Tab = /** @__PURE__ @class */ (function (_super) {
9407
9410
  switch (e.action) {
9408
9411
  case 'space':
9409
9412
  case 'enter':
9410
- if (trg.parentElement.classList.contains(CLS_DISABLE$4)) {
9413
+ if (trg.parentElement && trg.parentElement.classList.contains(CLS_DISABLE$4)) {
9411
9414
  return;
9412
9415
  }
9413
9416
  if (e.action === 'enter' && trg.classList.contains('e-hor-nav')) {
@@ -16378,8 +16381,8 @@ var TreeView = /** @__PURE__ @class */ (function (_super) {
16378
16381
  if (isNullOrUndefined(uid)) {
16379
16382
  return uid;
16380
16383
  }
16381
- if (typeof uid === 'string' && uid.indexOf(' #') !== -1) {
16382
- return uid.split(' #').join(' \\#');
16384
+ if (typeof uid === 'string') {
16385
+ return uid.replace(/[#:.[\]!~^$*() ]/g, '\\$&');
16383
16386
  }
16384
16387
  return uid;
16385
16388
  };