@progress/kendo-react-grid 4.10.0-dev.202109290815 → 4.10.0-dev.202109300751
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.
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
// offsetWidth() is slowly transition to reporting double instead of integet in all browsers
|
|
2
|
+
// during this process (which is a bit back-and-forth) we need to make sure we are working across all browsers and versions
|
|
3
|
+
var OFFSET_ROUND = 1;
|
|
1
4
|
/**
|
|
2
5
|
* @hidden
|
|
3
6
|
*/
|
|
@@ -81,8 +84,7 @@ var ColumnResize = /** @class */ (function () {
|
|
|
81
84
|
indexesForAdjust.forEach(function (columnIndex) {
|
|
82
85
|
if (colgroup.children[columnIndex]) {
|
|
83
86
|
colgroup.children[columnIndex].width = '';
|
|
84
|
-
|
|
85
|
-
maxWidths[columnIndex] = Math.max(maxWidths[columnIndex] || 0, rect.width);
|
|
87
|
+
maxWidths[columnIndex] = Math.max(maxWidths[columnIndex] || 0, colgroup.children[columnIndex].offsetWidth + OFFSET_ROUND);
|
|
86
88
|
}
|
|
87
89
|
});
|
|
88
90
|
});
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-grid',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1632987847,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
// offsetWidth() is slowly transition to reporting double instead of integet in all browsers
|
|
4
|
+
// during this process (which is a bit back-and-forth) we need to make sure we are working across all browsers and versions
|
|
5
|
+
var OFFSET_ROUND = 1;
|
|
3
6
|
/**
|
|
4
7
|
* @hidden
|
|
5
8
|
*/
|
|
@@ -83,8 +86,7 @@ var ColumnResize = /** @class */ (function () {
|
|
|
83
86
|
indexesForAdjust.forEach(function (columnIndex) {
|
|
84
87
|
if (colgroup.children[columnIndex]) {
|
|
85
88
|
colgroup.children[columnIndex].width = '';
|
|
86
|
-
|
|
87
|
-
maxWidths[columnIndex] = Math.max(maxWidths[columnIndex] || 0, rect.width);
|
|
89
|
+
maxWidths[columnIndex] = Math.max(maxWidths[columnIndex] || 0, colgroup.children[columnIndex].offsetWidth + OFFSET_ROUND);
|
|
88
90
|
}
|
|
89
91
|
});
|
|
90
92
|
});
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-grid',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1632987847,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|