qbs-react-grid 1.1.32 → 1.1.33
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.
- package/es/Table.js +1 -1
- package/lib/Table.js +1 -1
- package/package.json +1 -1
- package/src/Table.tsx +7 -5
package/es/Table.js
CHANGED
|
@@ -761,7 +761,7 @@ var Table = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
761
761
|
className: prefix('body-row-wrapper'),
|
|
762
762
|
style: bodyStyles,
|
|
763
763
|
onScroll: onScrollBody
|
|
764
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
764
|
+
}, !loading && /*#__PURE__*/React.createElement("div", {
|
|
765
765
|
style: wheelStyles,
|
|
766
766
|
className: prefix('body-wheel-area'),
|
|
767
767
|
ref: wheelWrapperRef
|
package/lib/Table.js
CHANGED
|
@@ -768,7 +768,7 @@ var Table = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
|
|
|
768
768
|
className: prefix('body-row-wrapper'),
|
|
769
769
|
style: bodyStyles,
|
|
770
770
|
onScroll: onScrollBody
|
|
771
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
771
|
+
}, !loading && /*#__PURE__*/_react["default"].createElement("div", {
|
|
772
772
|
style: wheelStyles,
|
|
773
773
|
className: prefix('body-wheel-area'),
|
|
774
774
|
ref: wheelWrapperRef
|
package/package.json
CHANGED
package/src/Table.tsx
CHANGED
|
@@ -1109,11 +1109,13 @@ const Table = React.forwardRef(<Row extends RowDataType, Key>(props: TableProps<
|
|
|
1109
1109
|
style={bodyStyles}
|
|
1110
1110
|
onScroll={onScrollBody}
|
|
1111
1111
|
>
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1112
|
+
{!loading && (
|
|
1113
|
+
<div style={wheelStyles} className={prefix('body-wheel-area')} ref={wheelWrapperRef}>
|
|
1114
|
+
{topHideHeight ? <Row style={topRowStyles} className="virtualized" /> : null}
|
|
1115
|
+
{visibleRows.current}
|
|
1116
|
+
{bottomHideHeight ? <Row style={bottomRowStyles} className="virtualized" /> : null}
|
|
1117
|
+
</div>
|
|
1118
|
+
)}
|
|
1117
1119
|
|
|
1118
1120
|
<EmptyMessage
|
|
1119
1121
|
locale={locale}
|