@progress/kendo-react-grid 5.20.0-dev.202309281201 → 5.20.0-dev.202309291254

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,4 +1,5 @@
1
1
  import * as React from 'react';
2
+ import { firefox } from './utils';
2
3
  /**
3
4
  * @hidden
4
5
  */
@@ -87,7 +88,7 @@ var VirtualScrollFixed = /** @class */ (function () {
87
88
  });
88
89
  VirtualScrollFixed.prototype.translate = function (dY, forceSet) {
89
90
  if (this.scrollableVirtual && this.table) {
90
- if (this.reactVersion <= 17 || forceSet) {
91
+ if (firefox || this.reactVersion <= 17 || forceSet) {
91
92
  this.table.style.transform = 'translateY(' + dY + 'px)';
92
93
  }
93
94
  else {
@@ -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: 1695901014,
8
+ publishDate: 1695990437,
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
  };
@@ -54,7 +54,7 @@ var GridRow = /** @class */ (function (_super) {
54
54
  var defaultRendering = (React.createElement("tr", __assign({ id: this.props.id, onClick: this.props.onClick, onDoubleClick: this.props.onDoubleClick, className: className, style: {
55
55
  height: this.props.rowHeight ? this.props.rowHeight + 'px' : '',
56
56
  visibility: this.props.isHidden ? 'hidden' : ''
57
- }, role: "row", "aria-rowindex": this.props.ariaRowIndex, "absolute-row-index": this.props.absoluteRowIndex }, (_a = {}, _a[GRID_ROW_INDEX_ATTRIBUTE] = this.props.rowType === 'data' ? this.props.dataIndex : undefined, _a)), this.props.children));
57
+ }, role: "row", "aria-rowindex": this.props.ariaRowIndex, "absolute-row-index": this.props.absoluteRowIndex, key: this.props.absoluteRowIndex }, (_a = {}, _a[GRID_ROW_INDEX_ATTRIBUTE] = this.props.rowType === 'data' ? this.props.dataIndex : undefined, _a)), this.props.children));
58
58
  return this.props.render ?
59
59
  this.props.render.call(undefined, defaultRendering, this.props) :
60
60
  defaultRendering;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VirtualScrollFixed = exports.RowHeightService = void 0;
4
4
  var React = require("react");
5
+ var utils_1 = require("./utils");
5
6
  /**
6
7
  * @hidden
7
8
  */
@@ -90,7 +91,7 @@ var VirtualScrollFixed = /** @class */ (function () {
90
91
  });
91
92
  VirtualScrollFixed.prototype.translate = function (dY, forceSet) {
92
93
  if (this.scrollableVirtual && this.table) {
93
- if (this.reactVersion <= 17 || forceSet) {
94
+ if (utils_1.firefox || this.reactVersion <= 17 || forceSet) {
94
95
  this.table.style.transform = 'translateY(' + dY + 'px)';
95
96
  }
96
97
  else {
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-react-grid',
9
9
  productName: 'KendoReact',
10
10
  productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
11
- publishDate: 1695901014,
11
+ publishDate: 1695990437,
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
  };
@@ -57,7 +57,7 @@ var GridRow = /** @class */ (function (_super) {
57
57
  var defaultRendering = (React.createElement("tr", __assign({ id: this.props.id, onClick: this.props.onClick, onDoubleClick: this.props.onDoubleClick, className: className, style: {
58
58
  height: this.props.rowHeight ? this.props.rowHeight + 'px' : '',
59
59
  visibility: this.props.isHidden ? 'hidden' : ''
60
- }, role: "row", "aria-rowindex": this.props.ariaRowIndex, "absolute-row-index": this.props.absoluteRowIndex }, (_a = {}, _a[constants_1.GRID_ROW_INDEX_ATTRIBUTE] = this.props.rowType === 'data' ? this.props.dataIndex : undefined, _a)), this.props.children));
60
+ }, role: "row", "aria-rowindex": this.props.ariaRowIndex, "absolute-row-index": this.props.absoluteRowIndex, key: this.props.absoluteRowIndex }, (_a = {}, _a[constants_1.GRID_ROW_INDEX_ATTRIBUTE] = this.props.rowType === 'data' ? this.props.dataIndex : undefined, _a)), this.props.children));
61
61
  return this.props.render ?
62
62
  this.props.render.call(undefined, defaultRendering, this.props) :
63
63
  defaultRendering;