@progress/kendo-angular-common 24.2.0-develop.8 → 24.2.0-develop.9

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.
@@ -619,8 +619,10 @@ class ResizeCompatService extends ResizeService {
619
619
  }
620
620
  if (this.expand) {
621
621
  const element = this.element?.nativeElement;
622
- element.removeChild(this.expand);
623
- element.removeChild(this.shrink);
622
+ if (element) {
623
+ element.removeChild(this.expand);
624
+ element.removeChild(this.shrink);
625
+ }
624
626
  this.expand.removeChild(this.expandChild);
625
627
  this.expand = this.expandChild = this.shrink = this.element = null;
626
628
  }
@@ -633,7 +635,10 @@ class ResizeCompatService extends ResizeService {
633
635
  return false;
634
636
  }
635
637
  init() {
636
- const parentElement = this.parentElement = this.element?.nativeElement.parentElement;
638
+ const parentElement = this.parentElement = this.element?.nativeElement?.parentElement;
639
+ if (!parentElement) {
640
+ return;
641
+ }
637
642
  if (computedProp(parentElement, 'position') === 'static') {
638
643
  parentElement.style.position = 'relative';
639
644
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "24.2.0-develop.8",
3
+ "version": "24.2.0-develop.9",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,7 +23,7 @@
23
23
  "@progress/kendo-common": "^1.0.1",
24
24
  "@progress/kendo-draggable": "^3.0.2",
25
25
  "tslib": "^2.3.1",
26
- "@progress/kendo-angular-schematics": "24.2.0-develop.8"
26
+ "@progress/kendo-angular-schematics": "24.2.0-develop.9"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"