@progress/kendo-react-data-tools 5.11.1-dev.202302171102 → 5.12.0-dev.202302211105

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.
@@ -155,7 +155,7 @@ export function getIndex(event, parent) {
155
155
  if (!target && parent.matches('tr')) {
156
156
  // parent.ownerDocument.elementFromPoint did not return correct element in grid is in shadow root.
157
157
  var predicate = function (c) {
158
- var pos = { top: c.offsetTop, left: c.offsetLeft, height: c.offsetHeight, width: c.offsetWidth };
158
+ var pos = c.getBoundingClientRect();
159
159
  return coord.x > pos.left && coord.x < pos.left + pos.width && coord.y > pos.top && coord.y < pos.top + pos.height;
160
160
  };
161
161
  target = Array.from(parent.children).find(predicate) || null;
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-react-data-tools',
6
6
  productName: 'KendoReact',
7
7
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
8
- publishDate: 1676630584,
8
+ publishDate: 1676976430,
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
  };
@@ -161,7 +161,7 @@ function getIndex(event, parent) {
161
161
  if (!target && parent.matches('tr')) {
162
162
  // parent.ownerDocument.elementFromPoint did not return correct element in grid is in shadow root.
163
163
  var predicate = function (c) {
164
- var pos = { top: c.offsetTop, left: c.offsetLeft, height: c.offsetHeight, width: c.offsetWidth };
164
+ var pos = c.getBoundingClientRect();
165
165
  return coord.x > pos.left && coord.x < pos.left + pos.width && coord.y > pos.top && coord.y < pos.top + pos.height;
166
166
  };
167
167
  target = Array.from(parent.children).find(predicate) || null;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-data-tools',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1676630584,
11
+ publishDate: 1676976430,
12
12
  version: '',
13
13
  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'
14
14
  };