handsontable 0.0.0-next-e2b2b92-20230831 → 0.0.0-next-091c0be-20230904
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +2 -2
- package/dist/handsontable.full.css +2 -2
- package/dist/handsontable.full.js +10 -5
- package/dist/handsontable.full.min.css +2 -2
- package/dist/handsontable.full.min.js +3 -3
- package/dist/handsontable.js +10 -5
- package/dist/handsontable.min.css +2 -2
- package/dist/handsontable.min.js +3 -3
- package/helpers/dom/element.js +5 -0
- package/helpers/dom/element.mjs +5 -0
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
package/helpers/dom/element.js
CHANGED
@@ -423,6 +423,11 @@ function offset(element) {
|
|
423
423
|
if (elementToCheck === rootDocument.body) {
|
424
424
|
break;
|
425
425
|
}
|
426
|
+
// If the element is inside an SVG context, the `offsetParent` can be
|
427
|
+
// a <foreignObject> that does not have properties `offsetLeft` and `offsetTop` defined.
|
428
|
+
if (!('offsetLeft' in elementToCheck)) {
|
429
|
+
break;
|
430
|
+
}
|
426
431
|
offsetLeft += elementToCheck.offsetLeft;
|
427
432
|
offsetTop += elementToCheck.offsetTop;
|
428
433
|
lastElem = elementToCheck;
|
package/helpers/dom/element.mjs
CHANGED
@@ -370,6 +370,11 @@ export function offset(element) {
|
|
370
370
|
if (elementToCheck === rootDocument.body) {
|
371
371
|
break;
|
372
372
|
}
|
373
|
+
// If the element is inside an SVG context, the `offsetParent` can be
|
374
|
+
// a <foreignObject> that does not have properties `offsetLeft` and `offsetTop` defined.
|
375
|
+
if (!('offsetLeft' in elementToCheck)) {
|
376
|
+
break;
|
377
|
+
}
|
373
378
|
offsetLeft += elementToCheck.offsetLeft;
|
374
379
|
offsetTop += elementToCheck.offsetTop;
|
375
380
|
lastElem = elementToCheck;
|
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "0.0.0-next-
|
137
|
+
const hotVersion = "0.0.0-next-091c0be-20230904";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "0.0.0-next-
|
127
|
+
const hotVersion = "0.0.0-next-091c0be-20230904";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-091c0be-20230904",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|