@progress/kendo-angular-common 23.3.0-develop.15 → 23.3.0-develop.16

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.
@@ -369,6 +369,9 @@ const hasFocusableParent = (element, container) => {
369
369
  };
370
370
 
371
371
  const isVisible = (element) => {
372
+ if (!isDocumentAvailable() || !element?.getBoundingClientRect) {
373
+ return false;
374
+ }
372
375
  const rect = element.getBoundingClientRect();
373
376
  const hasSize = rect.width > 0 && rect.height > 0;
374
377
  const hasPosition = rect.x !== 0 && rect.y !== 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "23.3.0-develop.15",
3
+ "version": "23.3.0-develop.16",
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": "23.3.0-develop.15"
26
+ "@progress/kendo-angular-schematics": "23.3.0-develop.16"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"